diff --git a/src/interaction/InteractionManager.js b/src/interaction/InteractionManager.js index 4aa76f6..15659fa 100644 --- a/src/interaction/InteractionManager.js +++ b/src/interaction/InteractionManager.js @@ -540,7 +540,10 @@ */ InteractionManager.prototype.processMouseMove = function ( displayObject, hit ) { - this.dispatchEvent( displayObject, 'mousemove', this.eventData); + if(hit) + { + this.dispatchEvent( displayObject, 'mousemove', this.eventData); + } this.processMouseOverOut(displayObject, hit); }; @@ -756,8 +759,10 @@ */ InteractionManager.prototype.processTouchMove = function ( displayObject, hit ) { - hit = hit; - this.dispatchEvent( displayObject, 'touchmove', this.eventData); + if (hit) + { + this.dispatchEvent( displayObject, 'touchmove', this.eventData); + } }; /**