The step bar uses the screen coordinate system according to Pixi.js.
Therefore, when the value is incremented, the slider's position moves to the right or down.
To invert the movement direction, configure as follows:
Specify sliderStartPoint and sliderMaxPoint in reverse order.
Step bar options.
The step bar uses the screen coordinate system according to Pixi.js. Therefore, when the value is incremented, the slider's position moves to the right or down.
To invert the movement direction, configure as follows:
Param: base
The area for receiving drag operations.
Param: sliderStartPoint
The slider position corresponding to minValue.
Param: sliderMaxPoint
The slider position corresponding to maxValue.
Param: maxValue
Maximum value.
Param: minValue
Minimum value.
Param: initialValue
Initial value.
Param: step
Step value.
Param: sliderButton
Slider button.
Param: incrementButton
Increment button.
Param: decrementButton
Decrement button.
Param: isHorizontal
Whether the orientation is horizontal.
Param: canvas
Canvas element.