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:
parent
ccf82cacb0
commit
93029fd548
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user