mirror of https://github.com/ppy/osu
Fix one more case of incorrect offset.
This commit is contained in:
parent
86de4fa2e2
commit
fb05552ac4
|
@ -172,9 +172,8 @@ protected override void UpdateState(ArmedState state)
|
|||
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