mirror of
https://github.com/godotengine/godot.git
synced 2024-10-23 05:31:54 +00:00
fix 2d editor selection
This commit is contained in:
parent
2042420bd7
commit
9e196b7d8c
|
@ -4073,6 +4073,13 @@ void CanvasItemEditor::_notification(int p_what) {
|
|||
override_camera_button->set_pressed(false);
|
||||
}
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_APPLICATION_FOCUS_OUT: {
|
||||
if (drag_type != DRAG_NONE) {
|
||||
_reset_drag();
|
||||
viewport->queue_redraw();
|
||||
}
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user