Removing moving the control when trying to resize it.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user