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
I am using MonoGame 3.6.0.906 on MacOS. I am trying to get some mouse input code working, but I have found some strange behaviour. It appears that the mouse position does not update when the left button is pressed. This makes it impossible to implement mouse dragging input.
To investigate, I added print statements when the left mouse button is pressed, when is released and the mouse position every update. I then tried clicking and dragging. The mouse definitely moved when the left button was down.
For a MonoMac application it works correctly. The problem occurs when using the cross platform desktop template, the Xamarin Mac template and the Xamarin Classic template.
Would you mind updating to the latest development version? This problem should have been fixed for quite some time now, but what's puzzling is that 3.6.0.906 should have this fix in.
I am using MonoGame 3.6.0.906 on MacOS. I am trying to get some mouse input code working, but I have found some strange behaviour. It appears that the mouse position does not update when the left button is pressed. This makes it impossible to implement mouse dragging input.
To investigate, I added print statements when the left mouse button is pressed, when is released and the mouse position every update. I then tried clicking and dragging. The mouse definitely moved when the left button was down.
Here is the log:
As can be seen, the mouse position does not change when the left button is down.
Here is the code:
SO question: http://stackoverflow.com/questions/40562644/why-does-my-mouse-position-not-update-when-the-left-button-is-pressed
The text was updated successfully, but these errors were encountered: