mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 04:02:59 +08:00
Don't fade the approach circle on increased visibility
This commit is contained in:
parent
6649cb2204
commit
febfe9cdd0
@ -90,7 +90,14 @@ namespace osu.Game.Rulesets.Osu.Mods
|
||||
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
|
||||
using (circle.BeginAbsoluteSequence(h.StartTime - h.TimePreempt, true))
|
||||
@ -99,8 +106,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
||||
|
||||
// fade out immediately after fade in.
|
||||
using (drawable.BeginAbsoluteSequence(fadeOutStartTime, true))
|
||||
circle.FadeOut(fadeOutDuration);
|
||||
|
||||
fadeTarget.FadeOut(fadeOutDuration);
|
||||
break;
|
||||
|
||||
case DrawableSlider slider:
|
||||
|
Loading…
Reference in New Issue
Block a user