Merge pull request #108374 from DanielGSilva/mouse-captured-orientation

Deactivate orientation gizmo on window exit
This commit is contained in:
Thaddeus Crews
2025-08-04 12:04:21 -05:00

View File

@ -317,6 +317,10 @@ void ViewportRotationControl::_notification(int p_what) {
focused_axis = -2;
queue_redraw();
} break;
case NOTIFICATION_WM_WINDOW_FOCUS_OUT: {
gizmo_activated = false;
} break;
}
}