Official Murl Engine Forum
IsMouseButtonPressed still returning True when released outside the window - Printable Version

+- Official Murl Engine Forum (https://murlengine.com/forum)
+-- Forum: Murl Engine (https://murlengine.com/forum/forumdisplay.php?fid=5)
+--- Forum: Tutorials (https://murlengine.com/forum/forumdisplay.php?fid=6)
+--- Thread: IsMouseButtonPressed still returning True when released outside the window (/showthread.php?tid=242)



IsMouseButtonPressed still returning True when released outside the window - Flávio San - 23 Nov 2015

Hello! Smile

I suspect it's a simple fix.
When I move the mouse with the button pressed to out of the window, and I release it outside of the window, then I move the mouse to inside the window but the Input::IMouseDevice::IsMouseButtonPressed (IEnums::MouseButton button) is still returning true.


RE: IsMouseButtonPressed still returning True when released outside the window - Ketschak - 23 Nov 2015

(23 Nov 2015, 19:31)Flávio San Wrote: Hello! Smile

I suspect it's a simple fix.
When I move the mouse with the button pressed to out of the window, and I release it outside of the window, then I move the mouse to inside the window but the Input::IMouseDevice::IsMouseButtonPressed (IEnums::MouseButton button) is still returning true.

Thanks for the info. This is a bug and will be fixed in the next release.