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

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)