1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 01:23:44 +08:00

Use title as tiebreaker when sorting beatmap carousel by artist

Closes https://github.com/ppy/osu/issues/27548.

Reference: e53980dd76/osu!/GameplayElements/Beatmaps/BeatmapTreeManager.cs#L341-L347
This commit is contained in:
Bartłomiej Dach 2024-03-22 08:31:59 +01:00
parent e2df098184
commit a1880e89c2
No known key found for this signature in database

View File

@ -69,6 +69,8 @@ namespace osu.Game.Screens.Select.Carousel
default: default:
case SortMode.Artist: case SortMode.Artist:
comparison = OrdinalSortByCaseStringComparer.DEFAULT.Compare(BeatmapSet.Metadata.Artist, otherSet.BeatmapSet.Metadata.Artist); comparison = OrdinalSortByCaseStringComparer.DEFAULT.Compare(BeatmapSet.Metadata.Artist, otherSet.BeatmapSet.Metadata.Artist);
if (comparison == 0)
goto case SortMode.Title;
break; break;
case SortMode.Title: case SortMode.Title: