New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix TVG rendering #124
Fix TVG rendering #124
Conversation
felix-schwarz
commented
Oct 9, 2018
•
edited
edited
- Extend TVG and MakeTVG with new "viewBox" attribute
- Extend TVGImage to support "viewBox" attribute to correctly render whitespace on the right and bottom of vector images (was previously not honored)
- Extend TVGImage to support "viewBox" attribute to correctly render whitespace on the right and bottom of vector images (was previously not honored)
|
Codecov Report
@@ Coverage Diff @@
## master #124 +/- ##
==========================================
+ Coverage 29.63% 29.74% +0.11%
==========================================
Files 64 64
Lines 5669 5678 +9
==========================================
+ Hits 1680 1689 +9
Misses 3989 3989
Continue to review full report at Codecov.
|
Only one detail about pic's thumbnails: they fit cell height without padding. Comparing with same view in web UI: maybe it is something to do in a different issue/PR |
@jesmrec That's actually unrelated to SVG/TVG rendering. The thinking between showing icons and thumbnails that led to this choice is this:
That's why, right now, the app displays icons at a smaller size than thumbnails. I'm of course open to change and discussing this in a separate issue. |
i did not think in a bug for such behaviour, for me it is ok to discuss in a new issue. This one is approved on my side. |