mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Fix swells not stopping at the hit position
This commit is contained in:
Submodule osu-framework updated: 6134dafccb...067fdb8f5b
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user