You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Spatial/Canvas Editor: Ignore unhandled input if there is a dialog
This commit is contained in:
@@ -3529,10 +3529,10 @@ void SpatialEditor::_instance_scene() {
|
||||
|
||||
void SpatialEditor::_unhandled_key_input(InputEvent p_event) {
|
||||
|
||||
if (!is_visible())
|
||||
if (!is_visible() || window_has_modal_stack())
|
||||
return;
|
||||
|
||||
{
|
||||
{
|
||||
|
||||
EditorNode *en = editor;
|
||||
EditorPlugin *over_plugin = en->get_editor_plugin_over();
|
||||
|
||||
Reference in New Issue
Block a user