From d4bed7586d91aaffbec7c9a4d10a3d82c5b741a0 Mon Sep 17 00:00:00 2001 From: Cameron Reikes Date: Tue, 16 Jul 2019 11:33:40 -0700 Subject: [PATCH] Lower priority of anchor helper input - Fixes #30132 --- editor/plugins/canvas_item_editor_plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 915fc5ba4ce..d4eab888cc7 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -2246,8 +2246,6 @@ void CanvasItemEditor::_gui_input_viewport(const Ref &p_event) { //printf("Plugin\n"); } else if ((accepted = _gui_input_open_scene_on_double_click(p_event))) { //printf("Open scene on double click\n"); - } else if ((accepted = _gui_input_anchors(p_event))) { - //printf("Anchors\n"); } else if ((accepted = _gui_input_scale(p_event))) { //printf("Set scale\n"); } else if ((accepted = _gui_input_pivot(p_event))) { @@ -2258,6 +2256,8 @@ void CanvasItemEditor::_gui_input_viewport(const Ref &p_event) { //printf("Rotate\n"); } else if ((accepted = _gui_input_move(p_event))) { //printf("Move\n"); + } else if ((accepted = _gui_input_anchors(p_event))) { + //printf("Anchors\n"); } else if ((accepted = _gui_input_select(p_event))) { //printf("Selection\n"); } else {