g3n / engine

Go 3D Game Engine (http://g3n.rocks)
https://discord.gg/NfaeVr8zDg
BSD 2-Clause "Simplified" License
2.74k stars 292 forks source link

Fix #299, program will crash after release cursor #300

Closed zyxkad closed 9 months ago

zyxkad commented 9 months ago

We transfer MouseEvent to CursorEvent, and assign it to gm.cev when it's not exists, then the program won't panic when you click mouse button without any moving

danaugrs commented 9 months ago

Thanks for the fix!