mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:52:54 +08:00
Move FollowPlayback setting to User Interface subsection
This commit is contained in:
parent
bdea75b995
commit
eda4a27b45
@ -1,27 +0,0 @@
|
||||
// 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)
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
@ -19,8 +19,7 @@ namespace osu.Game.Overlays.Settings.Sections
|
||||
new AudioDevicesSettings(),
|
||||
new VolumeSettings(),
|
||||
new OffsetSettings(),
|
||||
new MainMenuSettings(),
|
||||
new PlaylistSettings()
|
||||
new MainMenuSettings()
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -17,6 +17,11 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
|
||||
{
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new SettingsCheckbox
|
||||
{
|
||||
LabelText = "Scroll playlist on song change",
|
||||
Bindable = config.GetBindable<bool>(OsuSetting.FollowPlayback)
|
||||
},
|
||||
new SettingsCheckbox
|
||||
{
|
||||
LabelText = "Rotate cursor when dragging",
|
||||
|
Loading…
Reference in New Issue
Block a user