Fix non-selectable playlist items not forwarding clicks to children

This commit is contained in:
Dean Herbert 2020-02-20 18:32:28 +09:00
parent 927115a085
commit 973093b522
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public class DrawableRoomPlaylistItem : OsuRearrangeableListItem<PlaylistItem>
private readonly bool allowEdit;
private readonly bool allowSelection;
protected override bool ShouldBeConsideredForInput(Drawable child) => allowEdit || SelectedItem.Value == Model;
protected override bool ShouldBeConsideredForInput(Drawable child) => allowEdit || !allowSelection || SelectedItem.Value == Model;
public DrawableRoomPlaylistItem(PlaylistItem item, bool allowEdit, bool allowSelection)
: base(item)