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";
|
||||
|
||||
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 @@ public InputSettings()
|
|||
}
|
||||
|
||||
[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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue