1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 00:52:56 +08:00

Remove drag handles from manage collections dialog for now

The realm implementation doesn't support this.
This commit is contained in:
Dean Herbert 2023-10-16 15:51:18 +09:00
parent 54722bf251
commit 36112302d6
No known key found for this signature in database

View File

@ -36,7 +36,13 @@ namespace osu.Game.Collections
public DrawableCollectionListItem(Live<BeatmapCollection> item, bool isCreated)
: base(item)
{
ShowDragHandle.Value = item.IsManaged;
// For now we don't support rearranging and always use alphabetical sort.
// Change this to:
//
// ShowDragHandle.Value = item.IsManaged;
//
// if we want to support user sorting (but changes will need to be made to realm to persist).
ShowDragHandle.Value = false;
}
protected override Drawable CreateContent() => new ItemContent(Model);