mirror of
https://github.com/ppy/osu.git
synced 2025-03-22 21:00:33 +08:00
Fix sliderbar lines lagging behind nub.
This commit is contained in:
parent
ce689032c7
commit
1e3266a9d2
@ -114,9 +114,9 @@ namespace osu.Game.Graphics.UserInterface
|
||||
return base.OnDrag(state);
|
||||
}
|
||||
|
||||
protected override void Update()
|
||||
protected override void UpdateAfterChildren()
|
||||
{
|
||||
base.Update();
|
||||
base.UpdateAfterChildren();
|
||||
leftBox.Scale = new Vector2(MathHelper.Clamp(
|
||||
nub.DrawPosition.X - nub.DrawWidth / 2, 0, DrawWidth), 1);
|
||||
rightBox.Scale = new Vector2(MathHelper.Clamp(
|
||||
|
Loading…
x
Reference in New Issue
Block a user