浏览代码

Merge pull request #33952 from KoBeWi/not_my_fault

Fix box selection being cancelled immediately
Rémi Verschelde 5 年之前
父节点
当前提交
1f4cbc0f84
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      editor/plugins/canvas_item_editor_plugin.cpp

+ 1 - 0
editor/plugins/canvas_item_editor_plugin.cpp

@@ -2238,6 +2238,7 @@ bool CanvasItemEditor::_gui_input_select(const Ref<InputEvent> &p_event) {
 					// Clear the selection if not additive
 					editor_selection->clear();
 					viewport->update();
+					selected_from_canvas = true;
 				};
 
 				drag_from = click;