davidfig / pixi-viewport

A highly configurable viewport/2D camera designed to work with pixi.js
https://davidfig.github.io/pixi-viewport/
MIT License
1.06k stars 177 forks source link

IOS: Problem with pinch-zoom gesture on large image #431

Open pub00515 opened 1 year ago

pub00515 commented 1 year ago

Hi,

I have a large image (approx 10k*10k) and I have two issues zooming:

davidfig commented 1 year ago

if you post sample code, I can take a look. I don't know of any maximum/minimums if you're not clamping (outside of javascript's large number support).

nApTu3aHs commented 6 months ago

I have the same problem both on the ios and on the android. Link to exapmple: https://m804s.csb.app/ Just open the demo on your phone and try using pinch zoom. From scale 8 the problem begins to appear, at scale 25 the pinch zoom almost stops working. I also noticed that the larger the scale, the slower you have to move your fingers for the pinch zoom to work.