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

Make SubViewportContainer event propagation aware of focused Control #79248

Merged
merged 1 commit into from
Jul 26, 2023

Commits on Jul 17, 2023

  1. Make SubViewportContainer event propagation aware of focused Control

    Propagate `InputEvents` without position either
    - during the Input-stage, when it has focus or
    - during the Unhandled-Input-stage, otherwise
    
    This makes sure that Gui-Input happens in the correct order.
    
    Move "Unhandled key Input" handling before "Unhandled Input" handling,
    so that Unicode input with Alt / Ctrl modifiers are sent to the nodes
    in the correct order.
    
    Change the default focus mode of `SubViewportContainer` from
    `FOCUS_NONE` to `FOCUS_CLICK`, to automatically remove focus from
    other `Control`-nodes, when clicking inside a `SubViewport`.
    Sauermann committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    e6386bc View commit details
    Browse the repository at this point in the history