'mouseup' and 'touchend' event should be bounded from the window element and not the canvas element because when you drag outside of the canvas element and release, the engine will still think the mouse is in the pressed state when it returns to the canvas.
1 decade ago
by tknz
Yeah that is annoying. The keyboard events also get stuck leaving the window while holding the key.
Is there a work around?
You could simply change replace 'ig.system.canvas' with 'window' on the 'mouseup', 'touchend', and 'MSPointerUp' events in input.js. This is more of a post for Dominic to fix for future ImpactJS release since it is closed source.
Page 1 of 1
« first
« previous
next ›
last »