1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:43:05 +08:00

Update UI to use the new setting

This commit is contained in:
Susko3 2023-11-06 21:07:15 +01:00
parent ea357bafdd
commit f8b5ecc92a
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
Add(new SettingsCheckbox
{
LabelText = TouchSettingsStrings.DisableTapsDuringGameplay,
Current = osuConfig.GetBindable<bool>(OsuSetting.MouseDisableButtons)
Current = osuConfig.GetBindable<bool>(OsuSetting.GameplayDisableTaps)
});
}

View File

@ -27,6 +27,6 @@ namespace osu.Game.Screens.Play.PlayerSettings
}
[BackgroundDependencyLoader]
private void load(OsuConfigManager config) => mouseButtonsCheckbox.Current = config.GetBindable<bool>(OsuSetting.MouseDisableButtons);
private void load(OsuConfigManager config) => mouseButtonsCheckbox.Current = config.GetBindable<bool>(RuntimeInfo.IsDesktop ? OsuSetting.MouseDisableButtons : OsuSetting.GameplayDisableTaps);
}
}