From 09964df198f43e4bea3ece4d4ea16a5f4488edfe Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Fri, 24 Oct 2025 16:19:33 -0500 Subject: [PATCH] Removing moving the control when trying to resize it. --- Source/Editor/Gizmo/UIEditorGizmo.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Editor/Gizmo/UIEditorGizmo.cs b/Source/Editor/Gizmo/UIEditorGizmo.cs index 765893bed..66bcd7634 100644 --- a/Source/Editor/Gizmo/UIEditorGizmo.cs +++ b/Source/Editor/Gizmo/UIEditorGizmo.cs @@ -398,7 +398,6 @@ namespace FlaxEditor var moveLocation = _mouseMovesPos + delta; var control = _activeWidget.UIControl.Control; var uiControlDelta = GetControlDelta(control, ref _mouseMovesPos, ref moveLocation); - control.LocalLocation += uiControlDelta * resizeAxisNeg; control.Size += uiControlDelta * resizeAxisPos - uiControlDelta * resizeAxisNeg; // Don't move if layout doesn't allow it