mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:09:34 +08:00
26 lines
788 B
C#
26 lines
788 B
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using osu.Framework.Allocation;
|
|
using osu.Game.Configuration;
|
|
using osu.Game.Overlays.Settings;
|
|
using osu.Game.Graphics.UserInterface;
|
|
|
|
namespace osu.Game.Screens.Play.Settings
|
|
{
|
|
public class PlaybackSettings : SettingsContainer
|
|
{
|
|
public override string Title => @"PLAYBACK";
|
|
|
|
[BackgroundDependencyLoader]
|
|
private void load(OsuConfigManager config)
|
|
{
|
|
Add(new SettingsSlider<double>
|
|
{
|
|
LabelText = "Playback speed",
|
|
Bindable = config.GetBindable<double>(OsuSetting.PlaybackSpeed),
|
|
});
|
|
}
|
|
}
|
|
}
|