mirror of
https://github.com/ppy/osu.git
synced 2025-01-31 17:12:56 +08:00
add integer keyboard step to sliders
This commit is contained in:
parent
904ea2e436
commit
33e559f835
@ -107,19 +107,23 @@ namespace osu.Game.Rulesets.Osu.Edit
|
|||||||
{
|
{
|
||||||
startPositionXSlider = new ExpandableSlider<float>
|
startPositionXSlider = new ExpandableSlider<float>
|
||||||
{
|
{
|
||||||
Current = StartPositionX
|
Current = StartPositionX,
|
||||||
|
KeyboardStep = 1,
|
||||||
},
|
},
|
||||||
startPositionYSlider = new ExpandableSlider<float>
|
startPositionYSlider = new ExpandableSlider<float>
|
||||||
{
|
{
|
||||||
Current = StartPositionY
|
Current = StartPositionY,
|
||||||
|
KeyboardStep = 1,
|
||||||
},
|
},
|
||||||
spacingSlider = new ExpandableSlider<float>
|
spacingSlider = new ExpandableSlider<float>
|
||||||
{
|
{
|
||||||
Current = Spacing
|
Current = Spacing,
|
||||||
|
KeyboardStep = 1,
|
||||||
},
|
},
|
||||||
gridLinesRotationSlider = new ExpandableSlider<float>
|
gridLinesRotationSlider = new ExpandableSlider<float>
|
||||||
{
|
{
|
||||||
Current = GridLinesRotation
|
Current = GridLinesRotation,
|
||||||
|
KeyboardStep = 1,
|
||||||
},
|
},
|
||||||
gridTypeButtons = new EditorRadioButtonCollection
|
gridTypeButtons = new EditorRadioButtonCollection
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user