1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 12:33:01 +08:00

Fix DrawableRoom swallowing mouse down events before reaching its container

This commit is contained in:
Salman Ahmed 2021-07-26 04:10:49 +03:00
parent 5141bf66eb
commit 749d7a7b24

View File

@ -275,14 +275,6 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
protected override bool ShouldBeConsideredForInput(Drawable child) => state == SelectionState.Selected;
protected override bool OnMouseDown(MouseDownEvent e)
{
if (selectedRoom.Value != Room)
return true;
return base.OnMouseDown(e);
}
protected override bool OnClick(ClickEvent e)
{
if (Room != selectedRoom.Value)