1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 13:32:54 +08:00

Fix beatmap listing sort direction not resetting when changing criteria

This commit is contained in:
Joseph Madamba 2023-03-21 14:49:39 -07:00
parent df3ccdff9f
commit 3cd01ee621
No known key found for this signature in database
GPG Key ID: 8B746C7BDDF0BD76

View File

@ -25,6 +25,8 @@ namespace osu.Game.Overlays.BeatmapListing
if (currentParameters == null)
Reset(SearchCategory.Leaderboard, false);
Current.BindValueChanged(_ => SortDirection.Value = Overlays.SortDirection.Descending);
}
public void Reset(SearchCategory category, bool hasQuery)