Fix box selection being cancelled immediately

This commit is contained in:
Tomasz Chabora 2019-11-27 21:07:35 +01:00
parent 1af9701caa
commit 66cefde2b0
1 changed files with 1 additions and 0 deletions

View File

@ -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;