mirror of
https://github.com/ppy/osu.git
synced 2025-02-05 17:02:58 +08: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.SaveUsername, true);
|
||||||
|
|
||||||
Set(OsuConfig.CursorSize, 1.0, 0.5f, 2);
|
Set(OsuConfig.CursorSize, 1.0, 0.5f, 2);
|
||||||
|
Set(OsuConfig.GameplayCursorSize, 1.0, 0.5f, 2);
|
||||||
Set(OsuConfig.DimLevel, 30, 0, 100);
|
Set(OsuConfig.DimLevel, 30, 0, 100);
|
||||||
|
|
||||||
Set(OsuConfig.MouseDisableButtons, false);
|
Set(OsuConfig.MouseDisableButtons, false);
|
||||||
@ -224,6 +225,7 @@ namespace osu.Game.Configuration
|
|||||||
ConfirmExit,
|
ConfirmExit,
|
||||||
AutoSendNowPlaying,
|
AutoSendNowPlaying,
|
||||||
CursorSize,
|
CursorSize,
|
||||||
|
GameplayCursorSize,
|
||||||
AutomaticCursorSizing,
|
AutomaticCursorSizing,
|
||||||
DimLevel,
|
DimLevel,
|
||||||
Display,
|
Display,
|
||||||
|
@ -54,7 +54,7 @@ namespace osu.Game.Graphics.Cursor
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OsuConfigManager config)
|
private void load(OsuConfigManager config)
|
||||||
{
|
{
|
||||||
cursorScale = config.GetBindable<double>(OsuConfig.CursorSize);
|
cursorScale = config.GetBindable<double>(OsuConfig.GameplayCursorSize);
|
||||||
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
|
@ -61,9 +61,14 @@ namespace osu.Game.Overlays.Options.Sections
|
|||||||
},
|
},
|
||||||
new OptionSlider<double>
|
new OptionSlider<double>
|
||||||
{
|
{
|
||||||
LabelText = "Cursor size",
|
LabelText = "Menu Cursor size",
|
||||||
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.CursorSize)
|
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.CursorSize)
|
||||||
},
|
},
|
||||||
|
new OptionSlider<double>
|
||||||
|
{
|
||||||
|
LabelText = "Gameplay Cursor size",
|
||||||
|
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.GameplayCursorSize)
|
||||||
|
},
|
||||||
new OsuCheckbox
|
new OsuCheckbox
|
||||||
{
|
{
|
||||||
LabelText = "Automatic cursor size",
|
LabelText = "Automatic cursor size",
|
||||||
|
Loading…
Reference in New Issue
Block a user