Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for #2327 Mouse pointer moves to centre of canvas on click in OpenGL3 with Swing #2328

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 15, 2024

  1. Fix for jMonkeyEngine#2327 Mouse pointer moves to centre of canvas on…

    … click in OpenGL3 with Swing
    
    Modify FlyByCamera to only hide the mouse cursor when the user actually rotates the camera, rather than when the user first presses the left mouse button.
    When the mouse is clicked, instead of immediately hiding the cursor, a flag (hideCursorOnNextRotate) is set. If and when a rotate is detected, the flag is checked and if true the cursor is hidden and the flag is cleared.
    andreas committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    dabe990 View commit details
    Browse the repository at this point in the history