1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 04:53:12 +08:00
osu-lazer/osu.Game/Overlays/Settings/Sections/Audio/PlaylistSettings.cs
2019-10-05 23:53:05 +03:00

28 lines
808 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Configuration;
namespace osu.Game.Overlays.Settings.Sections.Audio
{
public class PlaylistSettings : SettingsSubsection
{
protected override string Header => "Playlist";
[BackgroundDependencyLoader]
private void load(OsuConfigManager config)
{
Children = new Drawable[]
{
new SettingsCheckbox
{
LabelText = "Follow playback",
Bindable = config.GetBindable<bool>(OsuSetting.FollowPlayback)
}
};
}
}
}