Merge pull request #33952 from KoBeWi/not_my_fault

Fix box selection being cancelled immediately
This commit is contained in:
Rémi Verschelde 2019-11-28 09:28:22 +01:00 committed by GitHub
commit 1f4cbc0f84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;