1
0
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:
Roman Kapustin 2019-10-06 15:06:25 +03:00
parent bdea75b995
commit eda4a27b45
3 changed files with 6 additions and 29 deletions

View File

@ -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)
}
};
}
}
}

View File

@ -19,8 +19,7 @@ namespace osu.Game.Overlays.Settings.Sections
new AudioDevicesSettings(),
new VolumeSettings(),
new OffsetSettings(),
new MainMenuSettings(),
new PlaylistSettings()
new MainMenuSettings()
};
}
}

View File

@ -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",