mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-26 20:46:22 +01:00
A `number` or `int` parameter may now declare `"widget": "slider"`, with an optional `step` counted from `min`. The filter, live-effect and exporter dialogs and the Appearance panel's effect editor then show a slider over the parameter's range before its number field. The slider is named by the row's label for screen readers and moves by the step with the arrow keys. A value off the slider's steps, typed in the field or set by a script, is kept until the slider is moved. Install refuses the keys on any other parameter, on a range with no room, or with a step that cannot apply, and the refusals have rows in every complete catalog. Hosts from before these keys ignore them, as they do the other display keys. While a slider is dragged, the preview runs the plug-in at most about ten times a second, on the latest value, and the value the drag ends on always previews. In the Appearance panel a drag is one undo step.