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

screen wagglling while two-finger touch to drag without set pinch #65

Closed yinpeng633 closed 6 years ago

davidfig commented 6 years ago

I've seen this before and have been meaning to fix it. I'm working on replacing the drag() logic with the pinch() logic (minus the zoom).

davidfig commented 6 years ago

Try out npm v3.1.0. It should perform without waggling when two-finger dragging without pinch.

davidfig commented 6 years ago

Hopefully this fix worked for you.

yinpeng633 commented 6 years ago

thanks David, this fix worked.