josa42 / atom-svg-preview

Live SVG preview for Atom editor
MIT License
51 stars 14 forks source link

Zoom not working #49

Closed alxdb closed 6 years ago

alxdb commented 7 years ago

When trying to use atoms zoom feature, the image just moves to the upper left hand corner, and no zooming occurs. Here is the particular svg I am using

<?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<svg width="400px" height="400px" version="1.1" xmlns="http://www.w3.org/2000/svg"> <rect width="400px" height="400px" style="fill:rgb(255,255,255);stroke-width:0;stroke:rgb(0,0,0)"/> <line x1="10px" y1="10px" x2="19px" y2="10px" style="stroke:rgb(0,0,0);stroke-width:1"/> <line x1="29px" y1="10px" x2="34px" y2="10px" style="stroke:rgb(0,0,0);stroke-width:1"/> </svg>