diff options
author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2023-07-09 19:23:19 +0200 |
---|---|---|
committer | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2023-07-17 22:38:35 +0200 |
commit | e6386bc84363058c2a7f94524053daa6fbb6d082 (patch) | |
tree | d9accb6bfedb67362e372070a0f5cf271f2352eb /modules/gdscript/gdscript_lambda_callable.cpp | |
parent | 85c9db592f22941ce7c2a540a526e702f4cc1848 (diff) | |
download | redot-engine-e6386bc84363058c2a7f94524053daa6fbb6d082.tar.gz |
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`.
Diffstat (limited to 'modules/gdscript/gdscript_lambda_callable.cpp')
0 files changed, 0 insertions, 0 deletions