You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to distinguish whether user is moving viewport with mouse or touchpad, but it seems the only one solution for this is to use wheelDeltaY, however i can't find it in WheelEvent pixi-viewport fires
The text was updated successfully, but these errors were encountered:
Are you listening the wheel event this way viewport.on("wheel", (e) => console.log(e))? If you are, then you should check out the documentation of Federated Events system of pixijs, this event if not special to viewport. I suppose that e.nativeEvent is what you are looking for in this case.
Viewport does not listen this event by the way, what viewport does is it attaches wheel event listener to the cavnas, that way it has an original WheelEvent of the browser.
I need to distinguish whether user is moving viewport with mouse or touchpad, but it seems the only one solution for this is to use wheelDeltaY, however i can't find it in WheelEvent pixi-viewport fires
The text was updated successfully, but these errors were encountered: