@antimatter-audio/antimatter-ui 14.15.0 → 14.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2719,11 +2719,11 @@ var useSlider = function(param) {
2719
2719
  ]);
2720
2720
  // Update JUCE state
2721
2721
  var setNormalisedState = function(newValue) {
2722
- var fixedNewValue = parseFloat(newValue.toFixed(2));
2723
- if ((normalisedValueRef === null || normalisedValueRef === void 0 ? void 0 : normalisedValueRef.current) !== fixedNewValue) {
2724
- !isLocalhost && sliderState.setNormalisedValue(clamp(fixedNewValue));
2722
+ var stringValue = parseFloat("".concat(newValue));
2723
+ if ((normalisedValueRef === null || normalisedValueRef === void 0 ? void 0 : normalisedValueRef.current) !== stringValue) {
2724
+ !isLocalhost && sliderState.setNormalisedValue(clamp(stringValue));
2725
2725
  rowId && changeHandler(newValue, rowId);
2726
- normalisedValueRef.current = fixedNewValue;
2726
+ normalisedValueRef.current = stringValue;
2727
2727
  }
2728
2728
  };
2729
2729
  var bindDrag = useGesture({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antimatter-audio/antimatter-ui",
3
- "version": "14.15.0",
3
+ "version": "14.15.1",
4
4
  "description": "React UI component library for Antimatter Audio.",
5
5
  "repository": {
6
6
  "type": "git",