diff --git a/osu.Game/Configuration/OsuConfigManager.cs b/osu.Game/Configuration/OsuConfigManager.cs index 70bfbb5992..1442a26a06 100644 --- a/osu.Game/Configuration/OsuConfigManager.cs +++ b/osu.Game/Configuration/OsuConfigManager.cs @@ -23,7 +23,8 @@ protected override void InitialiseDefaults() Set(OsuConfig.SavePassword, false); Set(OsuConfig.SaveUsername, true); - Set(OsuConfig.CursorSize, 1.0, 0.5f, 2); + Set(OsuConfig.MenuCursorSize, 1.0, 0.5f, 2); + Set(OsuConfig.GameplayCursorSize, 1.0, 0.5f, 2); Set(OsuConfig.DimLevel, 30, 0, 100); Set(OsuConfig.MouseDisableButtons, false); @@ -223,7 +224,8 @@ public enum OsuConfig ComboFireHeight, ConfirmExit, AutoSendNowPlaying, - CursorSize, + MenuCursorSize, + GameplayCursorSize, AutomaticCursorSizing, DimLevel, Display, diff --git a/osu.Game/Graphics/Cursor/GameplayCursor.cs b/osu.Game/Graphics/Cursor/GameplayCursor.cs index a544a8e1bb..42d7e83750 100644 --- a/osu.Game/Graphics/Cursor/GameplayCursor.cs +++ b/osu.Game/Graphics/Cursor/GameplayCursor.cs @@ -54,7 +54,7 @@ public OsuCursor() [BackgroundDependencyLoader] private void load(OsuConfigManager config) { - cursorScale = config.GetBindable(OsuConfig.CursorSize); + cursorScale = config.GetBindable(OsuConfig.GameplayCursorSize); Children = new Drawable[] { diff --git a/osu.Game/Graphics/Cursor/MenuCursor.cs b/osu.Game/Graphics/Cursor/MenuCursor.cs index 1a21875cae..0f90a5aa0e 100644 --- a/osu.Game/Graphics/Cursor/MenuCursor.cs +++ b/osu.Game/Graphics/Cursor/MenuCursor.cs @@ -97,7 +97,7 @@ public Cursor() [BackgroundDependencyLoader] private void load(OsuConfigManager config, TextureStore textures, OsuColour colour) { - cursorScale = config.GetBindable(OsuConfig.CursorSize); + cursorScale = config.GetBindable(OsuConfig.MenuCursorSize); Children = new Drawable[] { diff --git a/osu.Game/Overlays/Options/Sections/SkinSection.cs b/osu.Game/Overlays/Options/Sections/SkinSection.cs index 56dd9ca318..0ee561c1ad 100644 --- a/osu.Game/Overlays/Options/Sections/SkinSection.cs +++ b/osu.Game/Overlays/Options/Sections/SkinSection.cs @@ -61,8 +61,13 @@ private void load(OsuConfigManager config) }, new OptionSlider { - LabelText = "Cursor size", - Bindable = (BindableDouble)config.GetBindable(OsuConfig.CursorSize) + LabelText = "Menu cursor size", + Bindable = (BindableDouble)config.GetBindable(OsuConfig.MenuCursorSize) + }, + new OptionSlider + { + LabelText = "Gameplay cursor size", + Bindable = (BindableDouble)config.GetBindable(OsuConfig.GameplayCursorSize) }, new OsuCheckbox { @@ -72,4 +77,4 @@ private void load(OsuConfigManager config) }; } } -} \ No newline at end of file +}