mirror of
https://github.com/osukey/osukey.git
synced 2025-05-02 12:17:27 +09: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 AudioDevicesSettings(),
|
||||||
new VolumeSettings(),
|
new VolumeSettings(),
|
||||||
new OffsetSettings(),
|
new OffsetSettings(),
|
||||||
new MainMenuSettings(),
|
new MainMenuSettings()
|
||||||
new PlaylistSettings()
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,6 +17,11 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
|
|||||||
{
|
{
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
|
new SettingsCheckbox
|
||||||
|
{
|
||||||
|
LabelText = "Scroll playlist on song change",
|
||||||
|
Bindable = config.GetBindable<bool>(OsuSetting.FollowPlayback)
|
||||||
|
},
|
||||||
new SettingsCheckbox
|
new SettingsCheckbox
|
||||||
{
|
{
|
||||||
LabelText = "Rotate cursor when dragging",
|
LabelText = "Rotate cursor when dragging",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user