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

Remove fade in, update comment

This commit is contained in:
David Zhao 2019-04-23 14:23:09 +09:00
parent b2b7143ed3
commit 9890884726
2 changed files with 2 additions and 3 deletions

View File

@ -49,7 +49,8 @@ namespace osu.Game.Rulesets.Osu.Mods
if (e.NewValue)
{
trackingSliders++;
// This check being here ensures we're only applying a dim if and only if a slider begins tracking.
// The fade should only be applied if tracking sliders is increasing from 0 to 1, and cannot be a result of a slider losing tracking.
// As a result, this logic must be exclusive to when e.NewValue is true.
if (trackingSliders == 1)
{
this.TransformTo(nameof(FlashlightDim), 0.8f, 50);

View File

@ -95,8 +95,6 @@ namespace osu.Game.Rulesets.Mods
Combo.ValueChanged += OnComboChange;
this.FadeInFromZero(FLASHLIGHT_FADE_DURATION);
using (BeginAbsoluteSequence(0))
{
foreach (var breakPeriod in Breaks)