You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-04 19:21:46 +00:00
Ensure nothing is found outside modal stack, but keep logic going. Fixes #7622
This commit is contained in:
@@ -1932,8 +1932,7 @@ void Viewport::_gui_input_event(Ref<InputEvent> p_event) {
|
||||
|
||||
Control *top = gui.modal_stack.back()->get();
|
||||
if (over != top && !top->is_a_parent_of(over)) {
|
||||
|
||||
return; // don't send motion event to anything below modal stack top
|
||||
over = NULL; //nothing can be found outside the modal stack
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user