Browse Source

Merge pull request #59057 from timothyqiu/smart-guide

Rémi Verschelde 3 năm trước cách đây
mục cha
commit
f5dc2129a0
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      editor/plugins/canvas_item_editor_plugin.cpp

+ 2 - 0
editor/plugins/canvas_item_editor_plugin.cpp

@@ -1139,6 +1139,8 @@ bool CanvasItemEditor::_gui_input_rulers_and_guides(const Ref<InputEvent> &p_eve
 					}
 				}
 			}
+			snap_target[0] = SNAP_TARGET_NONE;
+			snap_target[1] = SNAP_TARGET_NONE;
 			drag_type = DRAG_NONE;
 			viewport->update();
 			return true;