mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:42:57 +08:00
Fix swells not stopping at the hit position
This commit is contained in:
parent
4fee76ba0b
commit
add68ff068
@ -1 +1 @@
|
||||
Subproject commit 6134dafccb3368dac96d837537325c04b89fb8ee
|
||||
Subproject commit 067fdb8f5b0594be1cd30e6bbd43f2ea749904ec
|
@ -192,7 +192,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
||||
Size = BaseSize * Parent.RelativeChildSize;
|
||||
|
||||
// Make the swell stop at the hit target
|
||||
X = (float)Math.Max(Time.Current, HitObject.StartTime);
|
||||
X = Math.Max(0, X);
|
||||
|
||||
double t = Math.Min(HitObject.StartTime, Time.Current);
|
||||
if (t == HitObject.StartTime && !hasStarted)
|
||||
|
@ -29,9 +29,12 @@ namespace osu.Game.Rulesets.UI.Scrolling
|
||||
RelativeSizeAxes = Axes.Both;
|
||||
}
|
||||
|
||||
protected override void UpdateAfterChildren()
|
||||
protected override void UpdateAfterChildrenLife()
|
||||
{
|
||||
base.UpdateAfterChildren();
|
||||
base.UpdateAfterChildrenLife();
|
||||
|
||||
// We need to calculate this as soon as possible so that hitobjects
|
||||
// get the final say in their positions
|
||||
|
||||
var currentMultiplier = controlPointAt(Time.Current);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user