1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 12:33:01 +08:00

Move intiial fade outside of absolute sequence

This commit is contained in:
David Zhao 2019-04-22 16:39:28 +09:00
parent 3c252d79ea
commit 3fbbb7dcf9

View File

@ -95,10 +95,10 @@ namespace osu.Game.Rulesets.Mods
Combo.ValueChanged += OnComboChange;
this.FadeInFromZero(FLASHLIGHT_FADE_DURATION);
using (BeginAbsoluteSequence(0))
{
this.FadeInFromZero(FLASHLIGHT_FADE_DURATION);
foreach (var breakPeriod in Breaks)
{
if (breakPeriod.Duration < FLASHLIGHT_FADE_DURATION * 2) continue;