diff --git a/Source/Editor/Gizmo/UIEditorGizmo.cs b/Source/Editor/Gizmo/UIEditorGizmo.cs index 5d1f27651..e39bd2684 100644 --- a/Source/Editor/Gizmo/UIEditorGizmo.cs +++ b/Source/Editor/Gizmo/UIEditorGizmo.cs @@ -507,7 +507,7 @@ namespace FlaxEditor { if (IsValidControl(selection[i], out var controlActor)) { - DrawControl(controlActor, controlActor.Control, true, ref mousePos, ref drawAnySelectedControl, true); + DrawControl(controlActor, controlActor.Control, true, ref mousePos, ref drawAnySelectedControl, EnableSelecting || (!EnableSelecting && Parent?.Parent is not Windows.GameWindow)); } } }