1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-01 06:52:58 +08:00

Change transition to better handle mass filter cases

This commit is contained in:
Dean Herbert 2020-02-06 11:59:33 +09:00
parent 304a071e39
commit a79d6ff27a

View File

@ -75,8 +75,13 @@ namespace osu.Game.Screens.Multi.Lounge.Components
{ {
matchingFilter = value; matchingFilter = value;
if (IsLoaded) if (!IsLoaded)
this.FadeTo(MatchingFilter ? 1 : 0, 200); return;
if (matchingFilter)
this.FadeIn(200);
else
Hide();
} }
} }