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

View File

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