mirror of
https://github.com/ppy/osu
synced 2025-01-06 06:10:04 +00:00
Move override to a bit better location
This commit is contained in:
parent
79f6092344
commit
d8ebb8e3eb
@ -404,6 +404,8 @@ namespace osu.Game.Overlays.Mods
|
||||
return base.OnKeyDown(e);
|
||||
}
|
||||
|
||||
public override bool OnPressed(GlobalAction action) => false; // handled by back button
|
||||
|
||||
private void availableModsChanged(ValueChangedEvent<Dictionary<ModType, IReadOnlyList<Mod>>> mods)
|
||||
{
|
||||
if (mods.NewValue == null) return;
|
||||
@ -490,7 +492,5 @@ namespace osu.Game.Overlays.Mods
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public override bool OnPressed(GlobalAction action) => false; // handled by back button
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user