diff --git a/README.md b/README.md index e57ffcdec..675f5b40b 100644 --- a/README.md +++ b/README.md @@ -262,7 +262,7 @@ If you are an exceptional JavaScript developer and would like to join the Phaser ### Bug Fixes * DeviceButton would try to set `altKey`, `shiftKey` and `ctrlKey` even for Joypads (thanks @zatch #1939) - +* Pointer.move would accidentally reset the `isDown` status of the Pointer on touch devices, which broke things like Sprite input events when built to native apps or run locally (#1932 #1943) diff --git a/src/input/Pointer.js b/src/input/Pointer.js index bf7e90d4c..8727092db 100644 --- a/src/input/Pointer.js +++ b/src/input/Pointer.js @@ -663,7 +663,7 @@ Phaser.Pointer.prototype = { this.button = event.button; } - if (fromClick) + if (fromClick && this.isMouse) { this.updateButtons(event); }