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:
parent
304a071e39
commit
a79d6ff27a
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user