Merge pull request #37065 from dreamsComeTrue/ruler-origin-fix
Reset ruler tool when switching tools with shortcuts
This commit is contained in:
commit
db0355cb07
@ -2622,6 +2622,7 @@ bool CanvasItemEditor::_gui_input_select(const Ref<InputEvent> &p_event) {
|
||||
|
||||
bool CanvasItemEditor::_gui_input_ruler_tool(const Ref<InputEvent> &p_event) {
|
||||
if (tool != TOOL_RULER) {
|
||||
ruler_tool_active = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user