You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
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