mirror of
https://github.com/ppy/osu
synced 2025-01-15 10:31:02 +00:00
Separated menu and gameplay cursor size
This commit is contained in:
parent
77067b7e64
commit
8568e1536c
@ -24,6 +24,7 @@ namespace osu.Game.Configuration
|
||||
Set(OsuConfig.SaveUsername, true);
|
||||
|
||||
Set(OsuConfig.CursorSize, 1.0, 0.5f, 2);
|
||||
Set(OsuConfig.GameplayCursorSize, 1.0, 0.5f, 2);
|
||||
Set(OsuConfig.DimLevel, 30, 0, 100);
|
||||
|
||||
Set(OsuConfig.MouseDisableButtons, false);
|
||||
@ -224,6 +225,7 @@ namespace osu.Game.Configuration
|
||||
ConfirmExit,
|
||||
AutoSendNowPlaying,
|
||||
CursorSize,
|
||||
GameplayCursorSize,
|
||||
AutomaticCursorSizing,
|
||||
DimLevel,
|
||||
Display,
|
||||
|
@ -54,7 +54,7 @@ namespace osu.Game.Graphics.Cursor
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuConfigManager config)
|
||||
{
|
||||
cursorScale = config.GetBindable<double>(OsuConfig.CursorSize);
|
||||
cursorScale = config.GetBindable<double>(OsuConfig.GameplayCursorSize);
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
|
@ -61,9 +61,14 @@ namespace osu.Game.Overlays.Options.Sections
|
||||
},
|
||||
new OptionSlider<double>
|
||||
{
|
||||
LabelText = "Cursor size",
|
||||
LabelText = "Menu Cursor size",
|
||||
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.CursorSize)
|
||||
},
|
||||
new OptionSlider<double>
|
||||
{
|
||||
LabelText = "Gameplay Cursor size",
|
||||
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.GameplayCursorSize)
|
||||
},
|
||||
new OsuCheckbox
|
||||
{
|
||||
LabelText = "Automatic cursor size",
|
||||
|
Loading…
Reference in New Issue
Block a user