mirror of
https://github.com/ppy/osu.git
synced 2024-11-08 00:37:40 +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:
commit
c476bc51ed
@ -219,6 +219,8 @@ namespace osu.Game.Screens.Multi.Lounge.Components
|
|||||||
Alpha = 0;
|
Alpha = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override bool ShouldBeConsideredForInput(Drawable child) => state == SelectionState.Selected;
|
||||||
|
|
||||||
private class RoomName : OsuSpriteText
|
private class RoomName : OsuSpriteText
|
||||||
{
|
{
|
||||||
[Resolved(typeof(Room), nameof(Online.Multiplayer.Room.Name))]
|
[Resolved(typeof(Room), nameof(Online.Multiplayer.Room.Name))]
|
||||||
|
Loading…
Reference in New Issue
Block a user