1
0
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:
smoogipooo 2017-03-22 01:55:41 +09:00
parent 1532ae78a4
commit a72ae319a1

View File

@ -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)