mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 14:12:56 +08:00
Add missing sliders
This commit is contained in:
parent
92cf841589
commit
b97902d006
@ -3,6 +3,7 @@
|
||||
|
||||
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;
|
||||
@ -26,6 +27,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",
|
||||
|
@ -4,6 +4,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;
|
||||
@ -62,6 +63,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…
Reference in New Issue
Block a user