X before Y for sanity

This commit is contained in:
Dean Herbert 2020-12-18 11:20:21 +09:00
parent 44f4ed4fd3
commit 9079d33412

View File

@ -235,8 +235,8 @@ namespace osu.Game.Screens.Edit.Compose.Components
private void addDragHandle(Anchor anchor) => AddInternal(new SelectionBoxDragHandle
{
Anchor = anchor,
Y = getAdjustmentToCenterCircleOnBorder(anchor).Y,
X = getAdjustmentToCenterCircleOnBorder(anchor).X,
Y = getAdjustmentToCenterCircleOnBorder(anchor).Y,
HandleDrag = e => OnScale?.Invoke(e.Delta, anchor),
OperationStarted = operationStarted,
OperationEnded = operationEnded