Closed fabiopedrosa closed 5 years ago
@fabiopedrosa, thank you for the feedback. I can see Webstorm does that, so looks useful. Proposing to make this disabled by default and add a setting to switch on.
Implemented in v0.3.2. Could be switched on by the setting option.
As implemented, it doesn't show the true viewBox. Only either the horizontal or vertical boundaries are accurate, depending on the aspect ratio of your preview window
Probably something to do with how browsers fit SVGs to their parent containers by default.
Related lines? :
Could we have some dashed box to see where the SVG bouding-box is?