mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Fix DrawableRoom
swallowing mouse down events before reaching its container
This commit is contained in:
@ -275,14 +275,6 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
|
|||||||
|
|
||||||
protected override bool ShouldBeConsideredForInput(Drawable child) => state == SelectionState.Selected;
|
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)
|
protected override bool OnClick(ClickEvent e)
|
||||||
{
|
{
|
||||||
if (Room != selectedRoom.Value)
|
if (Room != selectedRoom.Value)
|
||||||
|
Reference in New Issue
Block a user