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:
parent
b2b7143ed3
commit
9890884726
@ -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);
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user