mirror of https://github.com/ppy/osu
Fix non-1/1 initial beat divisor control display
This commit is contained in:
parent
eb9fff96ba
commit
998e1dfe47
|
@ -218,12 +218,17 @@ private void load()
|
|||
}
|
||||
|
||||
AddInternal(marker = new Marker());
|
||||
}
|
||||
|
||||
CurrentNumber.ValueChanged += div =>
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
CurrentNumber.BindValueChanged(div =>
|
||||
{
|
||||
marker.MoveToX(getMappedPosition(div.NewValue), 100, Easing.OutQuint);
|
||||
marker.Flash();
|
||||
};
|
||||
}, true);
|
||||
}
|
||||
|
||||
protected override void UpdateValue(float value)
|
||||
|
|
Loading…
Reference in New Issue