1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-28 15:50:19 +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
Unverified
parent df3ccdff9f
commit 3cd01ee621
@@ -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)