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
commit 0279916ff2
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

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;
}
}