mirror of
https://github.com/ppy/osu.git
synced 2025-03-14 15:37:19 +08:00
Add missing sliders
This commit is contained in:
parent
6dba0688d6
commit
6c92d0a765
@ -1,5 +1,6 @@
|
||||
using osu.Framework;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Configuration;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.Graphics.UserInterface;
|
||||
@ -23,6 +24,11 @@ namespace osu.Game.Overlays.Options.Input
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new SpriteText { Text = "Sensitivity: TODO slider" },
|
||||
new OptionsSlider<double>
|
||||
{
|
||||
Label = "Sensitivity",
|
||||
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.MouseSpeed),
|
||||
},
|
||||
rawInput = new CheckBoxOption
|
||||
{
|
||||
LabelText = "Raw input",
|
||||
|
@ -1,6 +1,7 @@
|
||||
using OpenTK;
|
||||
using osu.Framework;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Configuration;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.Graphics.UserInterface;
|
||||
@ -59,6 +60,11 @@ namespace osu.Game.Overlays.Options
|
||||
Bindable = config.GetBindable<bool>(OsuConfig.UseSkinCursor)
|
||||
},
|
||||
new SpriteText { Text = "Cursor size: TODO slider" },
|
||||
new OptionsSlider<double>
|
||||
{
|
||||
Label = "Cursor size",
|
||||
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.CursorSize)
|
||||
},
|
||||
new CheckBoxOption
|
||||
{
|
||||
LabelText = "Automatic cursor size",
|
||||
|
Loading…
x
Reference in New Issue
Block a user