Vertical Sliders
Sliders can now be made vertical! Set vertical: true
in their custom action. You also have to explicitly set style.height
to a value like 200px
. The tooltip's transform function will also be automatically adjusted to appear to the left of the slider thumb. As part of the style changes made to simplify slider styling and make it possible to create vertical sliders, --height
and --border-radius
have been removed. These values can now be set directly instead using height
and border-radius
.
custom_actions:
slider:
vertical: true
style:
height: 175px
Special Button Grids
This project previously had a shortcut for direction buttons, which would just create the direction and center buttons using basic rows. You can now also build these buttons using a grid of consistent width to ensure that button horizontal spacing will remain consistent regardless of screen size using dpad
. Additionally new button pad shortcuts have been added for number and game buttons, numpad
, xpad
, and npad
. The old direction pad can still be recreated using nav_buttons
.
Other Changes
- Remove default precision.
- Adjust how default slider range is set.
- Include template render function in template context for users to use to recursively render templates.
- Fix legacy string interpolation when multiple variables are used.
- Include slider context in more templates.