mirror of
https://github.com/ppy/osu
synced 2024-12-12 09:58:22 +00:00
Added bindable to adjust playback speed
This commit is contained in:
parent
0867ef814c
commit
1e029d05a8
@ -70,6 +70,7 @@ namespace osu.Game.Configuration
|
|||||||
Set(OsuSetting.KeyOverlay, false);
|
Set(OsuSetting.KeyOverlay, false);
|
||||||
|
|
||||||
Set(OsuSetting.FloatingComments, false);
|
Set(OsuSetting.FloatingComments, false);
|
||||||
|
Set(OsuSetting.PlaybackSpeed, 1.0, 0.5f, 2);
|
||||||
|
|
||||||
// Update
|
// Update
|
||||||
|
|
||||||
@ -91,6 +92,7 @@ namespace osu.Game.Configuration
|
|||||||
DimLevel,
|
DimLevel,
|
||||||
KeyOverlay,
|
KeyOverlay,
|
||||||
FloatingComments,
|
FloatingComments,
|
||||||
|
PlaybackSpeed,
|
||||||
ShowInterface,
|
ShowInterface,
|
||||||
MouseDisableButtons,
|
MouseDisableButtons,
|
||||||
MouseDisableWheel,
|
MouseDisableWheel,
|
||||||
|
@ -17,7 +17,7 @@ namespace osu.Game.Screens.Play.Options
|
|||||||
Add(new SettingsSlider<double>
|
Add(new SettingsSlider<double>
|
||||||
{
|
{
|
||||||
LabelText = "Playback speed",
|
LabelText = "Playback speed",
|
||||||
Bindable = config.GetBindable<double>(OsuSetting.DimLevel),
|
Bindable = config.GetBindable<double>(OsuSetting.PlaybackSpeed),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user