You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dragging an object works fine the first time the scene is created, but if you stop a scene and then start it again, you are no longer able to drag the object. I have tried both this.input.on() and gameObject.on() drag events.
Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.
Version
Description
Dragging an object works fine the first time the scene is created, but if you stop a scene and then start it again, you are no longer able to drag the object. I have tried both this.input.on() and gameObject.on() drag events.
Example Test Code
Additional Information
Fix:
https://github.com/photonstorm/phaser/blob/master/src/input/InputPlugin.js#L2288
Change this line to
The text was updated successfully, but these errors were encountered: