mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 16:32:54 +08:00
Fix beatmap listing sort direction not resetting when changing criteria
This commit is contained in:
parent
df3ccdff9f
commit
3cd01ee621
@ -25,6 +25,8 @@ namespace osu.Game.Overlays.BeatmapListing
|
|||||||
|
|
||||||
if (currentParameters == null)
|
if (currentParameters == null)
|
||||||
Reset(SearchCategory.Leaderboard, false);
|
Reset(SearchCategory.Leaderboard, false);
|
||||||
|
|
||||||
|
Current.BindValueChanged(_ => SortDirection.Value = Overlays.SortDirection.Descending);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Reset(SearchCategory category, bool hasQuery)
|
public void Reset(SearchCategory category, bool hasQuery)
|
||||||
|
Loading…
Reference in New Issue
Block a user