Only allow link clicking and tooltips of multi room drawables when selected

This commit is contained in:
Joehu
2020-07-12 22:24:11 -07:00
parent 8c7ff66bfd
commit 79ea6dbd5c

View File

@ -219,6 +219,8 @@ namespace osu.Game.Screens.Multi.Lounge.Components
Alpha = 0;
}
protected override bool ShouldBeConsideredForInput(Drawable child) => state == SelectionState.Selected;
private class RoomName : OsuSpriteText
{
[Resolved(typeof(Room), nameof(Online.Multiplayer.Room.Name))]