Fix box selection being cancelled immediately
This commit is contained in:
parent
1af9701caa
commit
66cefde2b0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue