Unify naming

This commit is contained in:
smoogipoo 2018-05-02 19:42:03 +09:00
parent d4ada3000c
commit 482ae2db87
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ namespace osu.Game.Input.Bindings
{
new KeyBinding(InputKey.F8, GlobalAction.ToggleChat),
new KeyBinding(InputKey.F9, GlobalAction.ToggleSocial),
new KeyBinding(InputKey.F10, GlobalAction.ToggleMouseButtons),
new KeyBinding(InputKey.F10, GlobalAction.ToggleGameplayMouseButtons),
new KeyBinding(InputKey.F12, GlobalAction.TakeScreenshot),
new KeyBinding(new[] { InputKey.Control, InputKey.Alt, InputKey.R }, GlobalAction.ResetInputSettings),
@ -77,7 +77,7 @@ namespace osu.Game.Input.Bindings
QuickRetry,
[Description("Toggle gameplay mouse buttons")]
ToggleMouseButtons,
ToggleGameplayMouseButtons,
[Description("Take screenshot")]
TakeScreenshot
}

View File

@ -466,7 +466,7 @@ namespace osu.Game
case GlobalAction.ToggleDirect:
direct.ToggleVisibility();
return true;
case GlobalAction.ToggleMouseButtons:
case GlobalAction.ToggleGameplayMouseButtons:
LocalConfig.Set(OsuSetting.MouseDisableButtons, !LocalConfig.Get<bool>(OsuSetting.MouseDisableButtons));
return true;
}