mirror of
https://github.com/ppy/osu.git
synced 2025-01-19 15:02:54 +08:00
Fix disable mouse buttons setting not showing default indicator when using keybind
This commit is contained in:
parent
712e7bc7bf
commit
3dd72d6f7d
@ -886,7 +886,9 @@ namespace osu.Game
|
||||
return true;
|
||||
|
||||
case GlobalAction.ToggleGameplayMouseButtons:
|
||||
LocalConfig.Set(OsuSetting.MouseDisableButtons, !LocalConfig.Get<bool>(OsuSetting.MouseDisableButtons));
|
||||
var mouseDisableButtons = LocalConfig.GetBindable<bool>(OsuSetting.MouseDisableButtons);
|
||||
|
||||
mouseDisableButtons.Value = !mouseDisableButtons.Value;
|
||||
return true;
|
||||
|
||||
case GlobalAction.RandomSkin:
|
||||
|
Loading…
Reference in New Issue
Block a user