mirror of https://github.com/ppy/osu
Remove mouseWheelCheckbox from InputSettings player overlay
This commit is contained in:
parent
ccf82cacb0
commit
93029fd548
|
@ -11,17 +11,12 @@ public class InputSettings : PlayerSettingsGroup
|
||||||
{
|
{
|
||||||
protected override string Title => "Input settings";
|
protected override string Title => "Input settings";
|
||||||
|
|
||||||
private readonly PlayerCheckbox mouseWheelCheckbox;
|
|
||||||
private readonly PlayerCheckbox mouseButtonsCheckbox;
|
private readonly PlayerCheckbox mouseButtonsCheckbox;
|
||||||
|
|
||||||
public InputSettings()
|
public InputSettings()
|
||||||
{
|
{
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
mouseWheelCheckbox = new PlayerCheckbox
|
|
||||||
{
|
|
||||||
LabelText = "Disable mouse wheel"
|
|
||||||
},
|
|
||||||
mouseButtonsCheckbox = new PlayerCheckbox
|
mouseButtonsCheckbox = new PlayerCheckbox
|
||||||
{
|
{
|
||||||
LabelText = "Disable mouse buttons"
|
LabelText = "Disable mouse buttons"
|
||||||
|
@ -30,10 +25,6 @@ public InputSettings()
|
||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OsuConfigManager config)
|
private void load(OsuConfigManager config) => mouseButtonsCheckbox.Bindable = config.GetBindable<bool>(OsuSetting.MouseDisableButtons);
|
||||||
{
|
|
||||||
mouseWheelCheckbox.Bindable = config.GetBindable<bool>(OsuSetting.MouseDisableWheel);
|
|
||||||
mouseButtonsCheckbox.Bindable = config.GetBindable<bool>(OsuSetting.MouseDisableButtons);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue