mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Update terminology in timing screen for now
This commit is contained in:
@ -10,14 +10,14 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
{
|
{
|
||||||
internal class DifficultySection : Section<DifficultyControlPoint>
|
internal class DifficultySection : Section<DifficultyControlPoint>
|
||||||
{
|
{
|
||||||
private SliderWithTextBoxInput<double> multiplierSlider;
|
private SliderWithTextBoxInput<double> sliderVelocitySlider;
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
{
|
{
|
||||||
Flow.AddRange(new[]
|
Flow.AddRange(new[]
|
||||||
{
|
{
|
||||||
multiplierSlider = new SliderWithTextBoxInput<double>("Speed Multiplier")
|
sliderVelocitySlider = new SliderWithTextBoxInput<double>("Slider Velocity")
|
||||||
{
|
{
|
||||||
Current = new DifficultyControlPoint().SliderVelocityBindable,
|
Current = new DifficultyControlPoint().SliderVelocityBindable,
|
||||||
KeyboardStep = 0.1f
|
KeyboardStep = 0.1f
|
||||||
@ -38,8 +38,8 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
if (selectedPointBindable.Precision < expectedPrecision)
|
if (selectedPointBindable.Precision < expectedPrecision)
|
||||||
selectedPointBindable.Precision = expectedPrecision;
|
selectedPointBindable.Precision = expectedPrecision;
|
||||||
|
|
||||||
multiplierSlider.Current = selectedPointBindable;
|
sliderVelocitySlider.Current = selectedPointBindable;
|
||||||
multiplierSlider.Current.BindValueChanged(_ => ChangeHandler?.SaveState());
|
sliderVelocitySlider.Current.BindValueChanged(_ => ChangeHandler?.SaveState());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user