mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 18:32:56 +08:00
Fix non-selectable playlist items not forwarding clicks to children
This commit is contained in:
parent
927115a085
commit
973093b522
@ -52,7 +52,7 @@ namespace osu.Game.Screens.Multi
|
|||||||
private readonly bool allowEdit;
|
private readonly bool allowEdit;
|
||||||
private readonly bool allowSelection;
|
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)
|
public DrawableRoomPlaylistItem(PlaylistItem item, bool allowEdit, bool allowSelection)
|
||||||
: base(item)
|
: base(item)
|
||||||
|
Loading…
Reference in New Issue
Block a user