1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 03:27:24 +08:00

Merge pull request #12015 from Joehuu/fix-mouse-disable-default-indicator

Fix disable mouse buttons setting not showing default indicator when using keybind
This commit is contained in:
Dan Balasescu 2021-03-16 11:51:53 +09:00 committed by GitHub
commit 891e7aadb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -886,7 +886,8 @@ 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: