Disable rewind handling

This commit is contained in:
Dean Herbert 2020-09-22 13:17:53 +09:00
parent 1c58f568d6
commit 1b261f177f
1 changed files with 9 additions and 1 deletions

View File

@ -63,6 +63,14 @@ public void UpdateCombo(int combo, Color4? hitObjectColour = null)
lastDisplayedCombo = combo;
if (Time.Elapsed < 0)
{
// needs more work to make rewind somehow look good.
// basically we want the previous increment to play... or turning off RemoveCompletedTransforms (not feasible from a performance angle).
Hide();
return;
}
// Combo fell to zero, roll down and fade out the counter.
if (combo == 0)
{
@ -73,7 +81,7 @@ public void UpdateCombo(int combo, Color4? hitObjectColour = null)
}
else
{
this.FadeInFromZero().Delay(1000).FadeOut(300);
this.FadeInFromZero().Then().Delay(1000).FadeOut(300);
counter.ScaleTo(1.5f)
.ScaleTo(0.8f, 250, Easing.Out)