mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Handle against playlists which disallow selection
`SelectedItem.Disabled` is also not checked against in the select-via-click flow inside `DrawableRoomPlaylistItem` (only `AllowSelection` is checked).
This commit is contained in:
@ -217,7 +217,7 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
|
||||
private void selectNext(int direction)
|
||||
{
|
||||
if (SelectedItem.Disabled)
|
||||
if (!AllowSelection)
|
||||
return;
|
||||
|
||||
var visibleItems = ListContainer.AsEnumerable().Where(r => r.IsPresent);
|
||||
|
Reference in New Issue
Block a user