EngoEngine / engo

Engo is an open-source 2D game engine written in Go.
https://engoengine.github.io
MIT License
1.74k stars 136 forks source link

Keep mouse drag when mouse action is neutral #702

Closed m0re4u closed 4 years ago

m0re4u commented 4 years ago

Previously, when the mouse action was neutral, the Dragged state of the mouse was reset to false. This change fixes it by keeping it set to true as long as one of the mouse buttons is down, requiring a mouse release before the Dragged state is exited.

Noofbiz commented 4 years ago

Awesome! Thanks for your help!