1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 15:22:55 +08:00

Change key overlay to use the ordering provided by rulesets

osu!mania already goes out of its way to order things correctly.
Arguably, osu!taiko just did it wrong.
This commit is contained in:
Dean Herbert 2024-01-17 17:37:35 +09:00
parent ee18123fc2
commit 45e52854ca
No known key found for this signature in database

View File

@ -167,7 +167,6 @@ namespace osu.Game.Rulesets.UI
var triggers = KeyBindingContainer.DefaultKeyBindings var triggers = KeyBindingContainer.DefaultKeyBindings
.Select(b => b.GetAction<T>()) .Select(b => b.GetAction<T>())
.Distinct() .Distinct()
.OrderBy(action => action)
.Select(action => new KeyCounterActionTrigger<T>(action)) .Select(action => new KeyCounterActionTrigger<T>(action))
.ToArray(); .ToArray();