1
0
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:
Dean Herbert 2020-02-15 16:47:55 +09:00
parent e2e157b455
commit e8f1335b47

View File

@ -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)
{