pinchzoom
pinchzoom copied to clipboard
Going under zoom factor 1, jumps back to zoom factor 1
This seems to be a built in feature, so I dont think this is an issue. Im curious why does that happen. Based on my debugging all calculations are correct, but when event ends the last zoomUpdate puts it back to zoomfactor 1.
My question is why does zooming out disallowed, also how to turn it off?
@Funnybanny I think you can use the zoomOutFactor
option for this. By default it's set to 1.3, which means the zoom will be restored to 1 if the current zoom is below 1.3.
I think it's actually necessary to enable this if you want the element to get re-centered when zooming out.