1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Fix selection stuck after saving scene

This commit is contained in:
Hilderin
2024-09-04 19:12:30 -04:00
parent b6223c0df0
commit 613d4d10cb
2 changed files with 5 additions and 1 deletions

View File

@@ -4120,7 +4120,8 @@ void CanvasItemEditor::_notification(int p_what) {
}
} break;
case NOTIFICATION_APPLICATION_FOCUS_OUT: {
case NOTIFICATION_APPLICATION_FOCUS_OUT:
case NOTIFICATION_WM_WINDOW_FOCUS_OUT: {
if (drag_type != DRAG_NONE) {
_reset_drag();
viewport->queue_redraw();