saveSvgAsPng icon indicating copy to clipboard operation
saveSvgAsPng copied to clipboard

Only bottom right of SVG displays in exported PNG

Open dangeratio opened this issue 8 years ago • 1 comments

I had to update the following lines for it to export properly:

options.left || 0, options.top || 0,

...changed to:

options.left || -width/2, options.top || -height/2,

dangeratio avatar Nov 21 '17 05:11 dangeratio

This sounds like a very odd issue. Can you supply a more complete example of the problem?

exupero avatar Nov 21 '17 12:11 exupero