pRizz / SVG-Navigator---Chrome-Extension

SVG Navigator is an extension for Google Chrome that adds pan and zoom features to existing SVG files on the web.
https://chrome.google.com/webstore/detail/svg-navigator/pefngfjmidahdaahgehodmfodhhhofkl?hl=en-US
BSD 2-Clause "Simplified" License
14 stars 5 forks source link

Viewbox size when panning #2

Closed pRizz closed 11 years ago

pRizz commented 11 years ago

When the svg doesn't start with a viewbox, but only a width and height, when one pans after opening the svg, the svg gets cut off on the edges. Maybe make the viewbox enlarged to the size of the client's browser window, unless the svg is embedded in html. Example: http://upload.wikimedia.org/wikipedia/commons/4/4c/Magnetic_moment.svg

pRizz commented 11 years ago

Fixed in v1.4