mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Fix selections not working anymore
This commit is contained in:
@ -34,6 +34,8 @@ namespace osu.Game.Screens.Multi.Components
|
||||
private const float side_strip_width = 5;
|
||||
private const float cover_width = 145;
|
||||
|
||||
public event Action<SelectionState> StateChanged;
|
||||
|
||||
public Action SelectionRequested;
|
||||
|
||||
private readonly Box selectionBox;
|
||||
@ -78,8 +80,6 @@ namespace osu.Game.Screens.Multi.Components
|
||||
}
|
||||
}
|
||||
|
||||
public event Action<SelectionState> StateChanged;
|
||||
|
||||
public DrawableRoom(Room room)
|
||||
{
|
||||
Room = room;
|
||||
@ -239,7 +239,7 @@ namespace osu.Game.Screens.Multi.Components
|
||||
|
||||
protected override bool OnClick(ClickEvent e)
|
||||
{
|
||||
State = SelectionState.Selected;
|
||||
SelectionRequested?.Invoke();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user