- fix
Control
not nudging values
- fix wrong prop name in
Control
- breaking change: all logic regarding ranges is now moved from
<ParameterGestureHandler />
to<Control />
. this allows usingParameterGestureHandler
without the built-in range type. - breaking change: rename the
onStart
andonEnd
props onParameterGestureHandler
toonGestureStart
andonGestureEnd
- fix stepped ranges not respecting range bounds
- add
touchend
event listener to triggeronGestureEnd
(thanks @eulervoid!) - improve string to value conversion for choice ranges
- avoid selecting
<ValueInput>
text when releasing the mouse on top the element when it was pressed down elsewhere
- the
getStart
andgetEnd
functions now work properly with choice ranges
- fix scroll wheel doing nothing when used on controls with stepped ranges
- improve parsing values from
<ValueInput>
- breaking change: remove duplicate
onClick
triggeringonGestureStart
in Control component (thanks @eulervoid!) - handle selecting all text in the ValueInput component more robustly
- properly build the distributed code with Rollup
- breaking change: helper functions for creating ranges are now grouped in the
rangeCreators
namespace - move all documentation directly in the source as TSDoc and generate the Markdown reference automatically
- improve the performance of
createSmoothedValue()
and add an optional argument for defining a threshold for when the animation should be stopped
- new: easily create knobs from image strips using
<ImageStripControl />
- new: helper function for creating smoothly animated movement:
createSmoothedValue(value: () => number, speed = 1)
- fix: the value jumped when pressing shift while already dragging a control
- implement alternative, more robust way of blocking user selection while a control is moved