Make the editor dimming even more smarter
This commit is contained in:
parent
60182d6b5a
commit
6348dfa948
@ -246,8 +246,8 @@ void WindowDialog::_notification(int p_what) {
|
|||||||
} break;
|
} break;
|
||||||
|
|
||||||
case NOTIFICATION_POPUP_HIDE: {
|
case NOTIFICATION_POPUP_HIDE: {
|
||||||
if (get_tree() && Engine::get_singleton()->is_editor_hint() && EditorNode::get_singleton())
|
if (get_tree() && Engine::get_singleton()->is_editor_hint() && EditorNode::get_singleton() && !was_editor_dimmed)
|
||||||
EditorNode::get_singleton()->dim_editor(was_editor_dimmed);
|
EditorNode::get_singleton()->dim_editor(false);
|
||||||
} break;
|
} break;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user