Fix drawing boxselection on GraphEdit

(cherry picked from commit 1bdc14acea)
This commit is contained in:
volzhs 2021-03-25 13:21:34 +09:00 committed by Rémi Verschelde
parent 98caee44f3
commit 3ee4efe1eb
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -1341,6 +1341,7 @@ void GraphEdit::_gui_input(const Ref<InputEvent> &p_ev) {
if (b->get_button_index() == BUTTON_LEFT && !b->is_pressed() && box_selecting) {
box_selecting = false;
box_selecting_rect = Rect2();
previus_selected.clear();
top_layer->update();
minimap->update();