1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:47:26 +08:00

Reduce initial fade transforms

This commit is contained in:
Dean Herbert 2021-09-08 17:30:13 +09:00
parent bebb9d7e67
commit 3e41d8b32e

View File

@ -83,12 +83,10 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
{ {
base.LoadComplete(); base.LoadComplete();
if (matchingFilter) Alpha = matchingFilter ? 1 : 0;
this.FadeInFromZero(transition_duration); selectionBox.Alpha = SelectedRoom.Value == Room ? 1 : 0;
else
Alpha = 0;
SelectedRoom.BindValueChanged(updateSelectedRoom, true); SelectedRoom.BindValueChanged(updateSelectedRoom);
} }
private void updateSelectedRoom(ValueChangedEvent<Room> selected) private void updateSelectedRoom(ValueChangedEvent<Room> selected)