mirror of
https://github.com/ppy/osu
synced 2025-01-20 21:10:49 +00:00
Remove unnecessary protected virtual
This commit is contained in:
parent
f564ed589f
commit
7013909322
@ -256,7 +256,7 @@ namespace osu.Game.Overlays.Mods
|
||||
base.LoadComplete();
|
||||
|
||||
toggleAllCheckbox?.Current.BindValueChanged(_ => updateToggleAllText(), true);
|
||||
hotkeyStyle.BindValueChanged(val => hotkeyHandler = CreateHotkeyHandler(val.NewValue), true);
|
||||
hotkeyStyle.BindValueChanged(val => hotkeyHandler = createHotkeyHandler(val.NewValue), true);
|
||||
asyncLoadPanels();
|
||||
}
|
||||
|
||||
@ -434,7 +434,7 @@ namespace osu.Game.Overlays.Mods
|
||||
/// Creates an appropriate <see cref="IModHotkeyHandler"/> for this column's <see cref="ModType"/> and
|
||||
/// the supplied <paramref name="hotkeyStyle"/>.
|
||||
/// </summary>
|
||||
protected virtual IModHotkeyHandler CreateHotkeyHandler(ModSelectHotkeyStyle hotkeyStyle)
|
||||
private IModHotkeyHandler createHotkeyHandler(ModSelectHotkeyStyle hotkeyStyle)
|
||||
{
|
||||
switch (ModType)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user