@antimatter-audio/antimatter-ui 10.6.0 → 10.6.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
|
@@ -4060,8 +4060,8 @@ function ModMatrixCell(param) {
|
|
|
4060
4060
|
displayValInHeader: false,
|
|
4061
4061
|
orientation: Orientation.horizontal,
|
|
4062
4062
|
dragOrientation: Orientation.vertical
|
|
4063
|
-
}), bindBarSliderDrag = _useSlider.bindBarSliderDrag, normalisedValue = _useSlider.normalisedValue;
|
|
4064
|
-
var
|
|
4063
|
+
}), bindBarSliderDrag = _useSlider.bindBarSliderDrag, normalisedValue = _useSlider.normalisedValue, scaledValue = _useSlider.scaledValue;
|
|
4064
|
+
var wholeNumberNormalisedValue = normalisedValue * 100;
|
|
4065
4065
|
return /*#__PURE__*/ React__default.createElement(Box, _object_spread$2({
|
|
4066
4066
|
className: "ModMatrixCell",
|
|
4067
4067
|
justifyContent: Box.justifyContent.flexEnd,
|
|
@@ -4077,7 +4077,7 @@ function ModMatrixCell(param) {
|
|
|
4077
4077
|
style: {
|
|
4078
4078
|
pointerEvents: 'none'
|
|
4079
4079
|
}
|
|
4080
|
-
}, /*#__PURE__*/ React__default.createElement(Label, null, parseFloat(
|
|
4080
|
+
}, /*#__PURE__*/ React__default.createElement(Label, null, parseFloat(scaledValue.toFixed(2)) || '0')), /*#__PURE__*/ React__default.createElement(Box, {
|
|
4081
4081
|
style: {
|
|
4082
4082
|
alignSelf: 'flex-end',
|
|
4083
4083
|
pointerEvents: 'none'
|
|
@@ -4092,7 +4092,7 @@ function ModMatrixCell(param) {
|
|
|
4092
4092
|
}, getBarTransformStyles({
|
|
4093
4093
|
orientation: Orientation === null || Orientation === void 0 ? void 0 : Orientation.horizontal,
|
|
4094
4094
|
polarity: Polarity === null || Polarity === void 0 ? void 0 : Polarity.linear,
|
|
4095
|
-
value: parseFloat(
|
|
4095
|
+
value: parseFloat(wholeNumberNormalisedValue === null || wholeNumberNormalisedValue === void 0 ? void 0 : wholeNumberNormalisedValue.toFixed(2))
|
|
4096
4096
|
}))
|
|
4097
4097
|
})));
|
|
4098
4098
|
}
|