1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-25 03:07:34 +08:00

Remove mouseWheelCheckbox from InputSettings player overlay

This commit is contained in:
Roman Kapustin 2018-05-10 20:38:55 +03:00
parent ccf82cacb0
commit 93029fd548

View File

@ -11,17 +11,12 @@ namespace osu.Game.Screens.Play.PlayerSettings
{
protected override string Title => "Input settings";
private readonly PlayerCheckbox mouseWheelCheckbox;
private readonly PlayerCheckbox mouseButtonsCheckbox;
public InputSettings()
{
Children = new Drawable[]
{
mouseWheelCheckbox = new PlayerCheckbox
{
LabelText = "Disable mouse wheel"
},
mouseButtonsCheckbox = new PlayerCheckbox
{
LabelText = "Disable mouse buttons"
@ -30,10 +25,6 @@ namespace osu.Game.Screens.Play.PlayerSettings
}
[BackgroundDependencyLoader]
private void load(OsuConfigManager config)
{
mouseWheelCheckbox.Bindable = config.GetBindable<bool>(OsuSetting.MouseDisableWheel);
mouseButtonsCheckbox.Bindable = config.GetBindable<bool>(OsuSetting.MouseDisableButtons);
}
private void load(OsuConfigManager config) => mouseButtonsCheckbox.Bindable = config.GetBindable<bool>(OsuSetting.MouseDisableButtons);
}
}