Sairahcaz Posted February 7, 2017 Share Posted February 7, 2017 me.input.registerPointerEvent("mousewheel", me.game.viewport, function (event) { console.log('wheel'); me.event.publish("mousewheel", [ event ]); },false); Hi folks, have this simple mousewheel event and it gets triggered 3 time when I scroll once. Any idea? Notes: working with the lates build from the master v4.1.1 Quote Link to comment Share on other sites More sharing options...
Parasyte Posted February 7, 2017 Share Posted February 7, 2017 Oh wow, nice find! This looks like another regression from the pointer events work that was done for v4.0.0. I've debugged this and filed a ticket to track its progress: https://github.com/melonjs/melonJS/issues/867 This also explains the steps you can take to fix it on your end in the meantime. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.