Fix drawing boxselection on GraphEdit
(cherry picked from commit 1bdc14acea
)
This commit is contained in:
parent
98caee44f3
commit
3ee4efe1eb
@ -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) {
|
if (b->get_button_index() == BUTTON_LEFT && !b->is_pressed() && box_selecting) {
|
||||||
box_selecting = false;
|
box_selecting = false;
|
||||||
|
box_selecting_rect = Rect2();
|
||||||
previus_selected.clear();
|
previus_selected.clear();
|
||||||
top_layer->update();
|
top_layer->update();
|
||||||
minimap->update();
|
minimap->update();
|
||||||
|
Loading…
Reference in New Issue
Block a user