mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:07:38 +08:00
Allow for easier selection by disabling clickability of contained elements until selected
This commit is contained in:
parent
e2e157b455
commit
e8f1335b47
@ -51,6 +51,8 @@ namespace osu.Game.Screens.Multi
|
||||
private readonly bool allowEdit;
|
||||
private readonly bool allowSelection;
|
||||
|
||||
protected override bool ShouldBeConsideredForInput(Drawable child) => allowEdit || SelectedItem.Value == Model;
|
||||
|
||||
public DrawableRoomPlaylistItem(PlaylistItem item, bool allowEdit, bool allowSelection)
|
||||
: base(item)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user