Deactivate orientation gizmo on window exit
This commit is contained in:
@ -317,6 +317,10 @@ void ViewportRotationControl::_notification(int p_what) {
|
|||||||
focused_axis = -2;
|
focused_axis = -2;
|
||||||
queue_redraw();
|
queue_redraw();
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
|
case NOTIFICATION_WM_WINDOW_FOCUS_OUT: {
|
||||||
|
gizmo_activated = false;
|
||||||
|
} break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user