Don't process input in hidden EditorProperty.
This causes EditorProperty nodes to intercept input events even when the Editor Properties dialog is not visible. This means that after closing the dialog, ctrl+shift+c will still copy the last selected property path. Fixes #62866.
This commit is contained in:
parent
83d0e97e03
commit
26223fe855
@ -569,7 +569,7 @@ void EditorProperty::_gui_input(const Ref<InputEvent> &p_event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void EditorProperty::_unhandled_key_input(const Ref<InputEvent> &p_event) {
|
void EditorProperty::_unhandled_key_input(const Ref<InputEvent> &p_event) {
|
||||||
if (!selected) {
|
if (!selected || !is_visible_in_tree()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user