mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
Merge pull request #36626 from giarve/stop-input-event-prop-on-popup-close
Clicking backgrd. dimming of editor popup stops input event propagation
This commit is contained in:
commit
5a025d3ce8
@ -247,8 +247,10 @@ void WindowDialog::_notification(int p_what) {
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_POPUP_HIDE: {
|
||||
if (get_tree() && Engine::get_singleton()->is_editor_hint() && EditorNode::get_singleton() && !was_editor_dimmed)
|
||||
if (get_tree() && Engine::get_singleton()->is_editor_hint() && EditorNode::get_singleton() && !was_editor_dimmed) {
|
||||
EditorNode::get_singleton()->dim_editor(false);
|
||||
set_pass_on_modal_close_click(false);
|
||||
}
|
||||
} break;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user