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

Don't fade the approach circle on increased visibility

This commit is contained in:
Dean Herbert 2020-10-09 18:43:16 +09:00
parent 6649cb2204
commit febfe9cdd0

View File

@ -90,7 +90,14 @@ namespace osu.Game.Rulesets.Osu.Mods
lastSliderHeadFadeOutStartTime = fadeOutStartTime; lastSliderHeadFadeOutStartTime = fadeOutStartTime;
} }
if (!increaseVisibility) Drawable fadeTarget = circle;
if (increaseVisibility)
{
// only fade the circle piece (not the approach circle) for the increased visibility object.
fadeTarget = circle.CirclePiece;
}
else
{ {
// we don't want to see the approach circle // we don't want to see the approach circle
using (circle.BeginAbsoluteSequence(h.StartTime - h.TimePreempt, true)) using (circle.BeginAbsoluteSequence(h.StartTime - h.TimePreempt, true))
@ -99,8 +106,7 @@ namespace osu.Game.Rulesets.Osu.Mods
// fade out immediately after fade in. // fade out immediately after fade in.
using (drawable.BeginAbsoluteSequence(fadeOutStartTime, true)) using (drawable.BeginAbsoluteSequence(fadeOutStartTime, true))
circle.FadeOut(fadeOutDuration); fadeTarget.FadeOut(fadeOutDuration);
break; break;
case DrawableSlider slider: case DrawableSlider slider: