mirror of
https://github.com/osukey/osukey.git
synced 2025-05-09 23:57:18 +09:00
Merge branch 'master' into tablet-configuration
This commit is contained in:
commit
baf4e4e8f6
@ -19,7 +19,7 @@ namespace osu.Game.Beatmaps.ControlPoints
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public readonly BindableDouble SpeedMultiplierBindable = new BindableDouble(1)
|
public readonly BindableDouble SpeedMultiplierBindable = new BindableDouble(1)
|
||||||
{
|
{
|
||||||
Precision = 0.1,
|
Precision = 0.01,
|
||||||
Default = 1,
|
Default = 1,
|
||||||
MinValue = 0.1,
|
MinValue = 0.1,
|
||||||
MaxValue = 10
|
MaxValue = 10
|
||||||
|
@ -18,7 +18,8 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
{
|
{
|
||||||
multiplierSlider = new SliderWithTextBoxInput<double>("Speed Multiplier")
|
multiplierSlider = new SliderWithTextBoxInput<double>("Speed Multiplier")
|
||||||
{
|
{
|
||||||
Current = new DifficultyControlPoint().SpeedMultiplierBindable
|
Current = new DifficultyControlPoint().SpeedMultiplierBindable,
|
||||||
|
KeyboardStep = 0.1f
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -69,6 +69,15 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
}, true);
|
}, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A custom step value for each key press which actuates a change on this control.
|
||||||
|
/// </summary>
|
||||||
|
public float KeyboardStep
|
||||||
|
{
|
||||||
|
get => slider.KeyboardStep;
|
||||||
|
set => slider.KeyboardStep = value;
|
||||||
|
}
|
||||||
|
|
||||||
public Bindable<T> Current
|
public Bindable<T> Current
|
||||||
{
|
{
|
||||||
get => slider.Current;
|
get => slider.Current;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user