You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Open sub-windows as embedded if the OS does not support them
This commit is contained in:
@@ -264,11 +264,8 @@ void EditorNode::_update_title() {
|
||||
|
||||
void EditorNode::_unhandled_input(const Ref<InputEvent> &p_event) {
|
||||
|
||||
if (Node::get_viewport()->get_modal_stack_top())
|
||||
return; //ignore because of modal window
|
||||
|
||||
Ref<InputEventKey> k = p_event;
|
||||
if (k.is_valid() && k->is_pressed() && !k->is_echo() && !gui_base->get_viewport()->gui_has_modal_stack()) {
|
||||
if (k.is_valid() && k->is_pressed() && !k->is_echo()) {
|
||||
|
||||
EditorPlugin *old_editor = editor_plugin_screen;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user