Closed motro closed 5 years ago
@motro Can you create a demo on codesandbox to see your problem
I will, but if it makes any sense the problem is when I use the alignCenter method after I've zoomed in.
@retyui see a demo here: https://codesandbox.io/embed/ryfcx what I'm trying to do is to zoom to the point where I clicked, looks like something is lost in translation between the different coordinates systems (SVG/DOM).
I had solved it :) all I needed was to set the viewBox of the SVG to the viewport size instead of the image size.
Hi there,
First of all, thanks for the great package!
I'm trying the following:
What would be the correct way to align the center again to a different point using the same scale?