mirror of https://github.com/ppy/osu
Fix sliderbar lines lagging behind nub.
This commit is contained in:
parent
ce689032c7
commit
1e3266a9d2
|
@ -114,9 +114,9 @@ protected override bool OnDrag(InputState state)
|
|||
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…
Reference in New Issue