mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Fix internal events not being delivered to some Window types
`AcceptDialog`, `Popup` and `PopupMenu` no longer subscribe to "window_input" signal, because that is only sent if it is not an internal signal. Instead they receive events in `_input_from_window`. They ensure that the event is also propagated to their super-function, just like previously the signals would be treated.
This commit is contained in:
parent
c455cb6555
commit
fa02d19fd1
8 changed files with 22 additions and 13 deletions
|
|
@ -239,6 +239,7 @@ protected:
|
|||
virtual void _post_popup() {}
|
||||
|
||||
virtual void _update_theme_item_cache();
|
||||
virtual void _input_from_window(const Ref<InputEvent> &p_event) {}
|
||||
|
||||
void _notification(int p_what);
|
||||
static void _bind_methods();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue