mirror of
https://github.com/ppy/osu.git
synced 2026-06-04 04:53:38 +08:00
Allow for easier selection by disabling clickability of contained elements until selected
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user