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 mouse position with screen transform #77923

Commits on Jun 9, 2023

  1. Fix mouse position with screen transform

    When a Viewport is not directly attached to the screen, the
    function `Viewport::get_mouse_position` can't rely on
    `get_screen_transform`, because that function is ambiguous in
    these situations.
    In these cases it is necessary to use the mouse position from
    the most recent mouse IputEvent.
    Sauermann committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    d1fa284 View commit details
    Browse the repository at this point in the history