mirror of https://github.com/ppy/osu
Fix non-selectable playlist items not forwarding clicks to children
This commit is contained in:
parent
927115a085
commit
973093b522
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue