Merge pull request #108374 from DanielGSilva/mouse-captured-orientation
Deactivate orientation gizmo on window exit
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user