Open RhapsodY-69 opened 1 year ago
There's not a great way to do this. I have had luck with this one: https://stackoverflow.com/a/62415754
Thank you. I have one more question: wheelDeltaY is undefined in event object in wheel event handler. What can I do with it?
I have 'wheel' event handler on pixi-viewport, but I need to know exactly what is user scrolling with, mouse wheel or touchpad. I tried many different solutions from stackoverflow and etc. But none of them worked for me. I will be very grateful if you could help somehow!