Move menu cursor rotation to more appropriate settings section

This commit is contained in:
Dean Herbert 2019-09-18 02:15:18 +09:00
parent fd3e2375bb
commit b5b29a21e7
3 changed files with 7 additions and 7 deletions

View File

@ -26,11 +26,6 @@ private void load(OsuConfigManager config)
LabelText = "Video", LabelText = "Video",
Bindable = config.GetBindable<bool>(OsuSetting.ShowVideoBackground) Bindable = config.GetBindable<bool>(OsuSetting.ShowVideoBackground)
}, },
new SettingsCheckbox
{
LabelText = "Rotate cursor when dragging",
Bindable = config.GetBindable<bool>(OsuSetting.CursorRotation)
},
new SettingsEnumDropdown<ScreenshotFormat> new SettingsEnumDropdown<ScreenshotFormat>
{ {
LabelText = "Screenshot format", LabelText = "Screenshot format",

View File

@ -6,7 +6,7 @@
namespace osu.Game.Overlays.Settings.Sections.Graphics namespace osu.Game.Overlays.Settings.Sections.Graphics
{ {
public class MainMenuSettings : SettingsSubsection public class UserInterfaceSettings : SettingsSubsection
{ {
protected override string Header => "User Interface"; protected override string Header => "User Interface";
@ -15,6 +15,11 @@ private void load(OsuConfigManager config)
{ {
Children = new[] Children = new[]
{ {
new SettingsCheckbox
{
LabelText = "Rotate cursor when dragging",
Bindable = config.GetBindable<bool>(OsuSetting.CursorRotation)
},
new SettingsCheckbox new SettingsCheckbox
{ {
LabelText = "Parallax", LabelText = "Parallax",

View File

@ -19,7 +19,7 @@ public GraphicsSection()
new RendererSettings(), new RendererSettings(),
new LayoutSettings(), new LayoutSettings(),
new DetailSettings(), new DetailSettings(),
new MainMenuSettings(), new UserInterfaceSettings(),
}; };
} }
} }