mirror of https://github.com/ppy/osu
Fix game mode selector line regression.
This commit is contained in:
parent
6ccce88a0e
commit
25d3818e7a
|
@ -50,7 +50,7 @@ public ToolbarModeSelector()
|
|||
RelativeSizeAxes = Axes.X,
|
||||
Size = new Vector2(0.3f, 3),
|
||||
Anchor = Anchor.BottomLeft,
|
||||
Origin = Anchor.TopCentre,
|
||||
Origin = Anchor.TopLeft,
|
||||
Colour = Color4.White
|
||||
}
|
||||
};
|
||||
|
@ -100,7 +100,7 @@ protected override void UpdateLayout()
|
|||
base.UpdateLayout();
|
||||
|
||||
if (!activeMode.EnsureValid())
|
||||
activeMode.Refresh(() => modeButtonLine.MoveToX(activeButton.DrawPosition.X + activeButton.DrawSize.X / 2 + padding, 200, EasingTypes.OutQuint));
|
||||
activeMode.Refresh(() => modeButtonLine.MoveToX(activeButton.DrawPosition.X, 200, EasingTypes.OutQuint));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue