mirror of
https://github.com/ppy/osu.git
synced 2025-03-01 02:22:55 +08:00
Change transition to better handle mass filter cases
This commit is contained in:
parent
304a071e39
commit
a79d6ff27a
@ -75,8 +75,13 @@ namespace osu.Game.Screens.Multi.Lounge.Components
|
||||
{
|
||||
matchingFilter = value;
|
||||
|
||||
if (IsLoaded)
|
||||
this.FadeTo(MatchingFilter ? 1 : 0, 200);
|
||||
if (!IsLoaded)
|
||||
return;
|
||||
|
||||
if (matchingFilter)
|
||||
this.FadeIn(200);
|
||||
else
|
||||
Hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user