@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.
- package/dist/index.js +4 -4
- 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
|
|
2723
|
-
if ((normalisedValueRef === null || normalisedValueRef === void 0 ? void 0 : normalisedValueRef.current) !==
|
|
2724
|
-
!isLocalhost && sliderState.setNormalisedValue(clamp(
|
|
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 =
|
|
2726
|
+
normalisedValueRef.current = stringValue;
|
|
2727
2727
|
}
|
|
2728
2728
|
};
|
|
2729
2729
|
var bindDrag = useGesture({
|