mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Move KeyboardStep assignment to ctor
This commit is contained in:
@ -80,8 +80,6 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
|||||||
|
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
KeyboardStep = 0.01f;
|
|
||||||
|
|
||||||
BindableDouble doubleValue = (BindableDouble)value;
|
BindableDouble doubleValue = (BindableDouble)value;
|
||||||
|
|
||||||
// create a second layer of bindable so we can only handle state changes when not being dragged.
|
// create a second layer of bindable so we can only handle state changes when not being dragged.
|
||||||
@ -99,6 +97,11 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
|||||||
doubleValue.ValueChanged += newValue => base.Bindable.Value = newValue;
|
doubleValue.ValueChanged += newValue => base.Bindable.Value = newValue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public SensitivitySetting()
|
||||||
|
{
|
||||||
|
KeyboardStep = 0.01f;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private class SensitivitySlider : OsuSliderBar<double>
|
private class SensitivitySlider : OsuSliderBar<double>
|
||||||
|
Reference in New Issue
Block a user