You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
-Moved all the "root" input handling for GUI from individual Controls to Viewport.
-Should fix several reported bugs when controls don't have a common parent This may have added new bugs, so please report if so!
This commit is contained in:
@@ -3529,7 +3529,7 @@ void SpatialEditor::_instance_scene() {
|
||||
|
||||
void SpatialEditor::_unhandled_key_input(InputEvent p_event) {
|
||||
|
||||
if (!is_visible() || window_has_modal_stack())
|
||||
if (!is_visible() || get_viewport()->gui_has_modal_stack())
|
||||
return;
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user