mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 12:22:56 +08:00
Fix one more case of incorrect offset.
This commit is contained in:
parent
86de4fa2e2
commit
fb05552ac4
@ -172,9 +172,8 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
||||
const float preempt = 100;
|
||||
const float out_transition_time = 300;
|
||||
|
||||
var offset = !AllJudged ? 0 : Time.Current - HitObject.EndTime;
|
||||
double untilStartTime = HitObject.StartTime - Time.Current;
|
||||
double untilJudgement = untilStartTime + offset + HitObject.Duration;
|
||||
double untilJudgement = untilStartTime + (Judgements.FirstOrDefault()?.TimeOffset ?? 0) + HitObject.Duration;
|
||||
|
||||
targetRing.Delay(untilStartTime - preempt).ScaleTo(target_ring_scale, preempt * 4, Easing.OutQuint);
|
||||
this.Delay(untilJudgement).FadeOut(out_transition_time, Easing.Out);
|
||||
|
Loading…
Reference in New Issue
Block a user