diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index d81faa1ef9..f2709e6d35 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -493,15 +493,13 @@ real_t CanvasItemEditor::snap_angle(real_t p_target, real_t p_start) const { void CanvasItemEditor::shortcut_input(const Ref &p_ev) { ERR_FAIL_COND(p_ev.is_null()); - - Ref k = p_ev; - if (!is_visible_in_tree()) { return; } + Ref k = p_ev; if (k.is_valid()) { - if (k->get_keycode() == Key::CTRL || k->get_keycode() == Key::ALT || k->get_keycode() == Key::SHIFT) { + if (!k->is_echo() && (k->get_keycode() == Key::CTRL || k->get_keycode() == Key::ALT || k->get_keycode() == Key::SHIFT)) { viewport->queue_redraw(); }