Move override to a bit better location

This commit is contained in:
smoogipoo
2020-07-15 13:17:22 +09:00
parent 79f6092344
commit d8ebb8e3eb

View File

@ -404,6 +404,8 @@ namespace osu.Game.Overlays.Mods
return base.OnKeyDown(e); return base.OnKeyDown(e);
} }
public override bool OnPressed(GlobalAction action) => false; // handled by back button
private void availableModsChanged(ValueChangedEvent<Dictionary<ModType, IReadOnlyList<Mod>>> mods) private void availableModsChanged(ValueChangedEvent<Dictionary<ModType, IReadOnlyList<Mod>>> mods)
{ {
if (mods.NewValue == null) return; if (mods.NewValue == null) return;
@ -490,7 +492,5 @@ namespace osu.Game.Overlays.Mods
} }
#endregion #endregion
public override bool OnPressed(GlobalAction action) => false; // handled by back button
} }
} }