Added bindable to adjust playback speed

This commit is contained in:
EVAST9919 2017-05-17 16:10:49 +03:00
parent 0867ef814c
commit 1e029d05a8
2 changed files with 3 additions and 1 deletions

View File

@ -70,6 +70,7 @@ protected override void InitialiseDefaults()
Set(OsuSetting.KeyOverlay, false);
Set(OsuSetting.FloatingComments, false);
Set(OsuSetting.PlaybackSpeed, 1.0, 0.5f, 2);
// Update
@ -91,6 +92,7 @@ public enum OsuSetting
DimLevel,
KeyOverlay,
FloatingComments,
PlaybackSpeed,
ShowInterface,
MouseDisableButtons,
MouseDisableWheel,

View File

@ -17,7 +17,7 @@ private void load(OsuConfigManager config)
Add(new SettingsSlider<double>
{
LabelText = "Playback speed",
Bindable = config.GetBindable<double>(OsuSetting.DimLevel),
Bindable = config.GetBindable<double>(OsuSetting.PlaybackSpeed),
});
}
}