mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Autoscroll playlist on song change
This commit is contained in:
@ -0,0 +1,27 @@
|
||||
// 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)
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
@ -20,6 +20,7 @@ namespace osu.Game.Overlays.Settings.Sections
|
||||
new VolumeSettings(),
|
||||
new OffsetSettings(),
|
||||
new MainMenuSettings(),
|
||||
new PlaylistSettings()
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user