diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index c06fbe7ad3f..9ae87198f42 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -2474,9 +2474,10 @@ bool CanvasItemEditor::_gui_input_select(const Ref &p_event) { } bool CanvasItemEditor::_gui_input_ruler_tool(const Ref &p_event) { - - if (tool != TOOL_RULER) + if (tool != TOOL_RULER) { + ruler_tool_active = false; return false; + } Ref b = p_event; Ref m = p_event;