mirror of
https://github.com/ppy/osu.git
synced 2025-01-16 20:42:55 +08:00
Override UpdateScrollPosition instead of Update.
This commit is contained in:
parent
1532ae78a4
commit
a72ae319a1
@ -61,9 +61,9 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
|
||||
}
|
||||
}
|
||||
|
||||
protected override void Update()
|
||||
protected override void UpdateScrollPosition(double time)
|
||||
{
|
||||
UpdateScrollPosition(Math.Min(Time.Current, HitObject.StartTime));
|
||||
base.UpdateScrollPosition(Math.Min(time, HitObject.StartTime));
|
||||
}
|
||||
|
||||
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
||||
|
Loading…
Reference in New Issue
Block a user