1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 12:57:36 +08:00

Merge pull request #9543 from Joehuu/multi-room-input-when-selected

Only allow link clicking and tooltips of multi room drawables when selected
This commit is contained in:
Dan Balasescu 2020-07-13 15:28:41 +09:00 committed by GitHub
commit c476bc51ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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))]