@cntrl-site/sdk 1.22.2 → 1.22.3
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1391,8 +1391,8 @@ function ControlSlider({ settings, content, styles: sliderStyles, isEditor }) {
|
|
|
1391
1391
|
if (!sliderRef) return;
|
|
1392
1392
|
const [wrapper2] = entries;
|
|
1393
1393
|
setSliderDimensions({
|
|
1394
|
-
width: wrapper2.contentRect.width,
|
|
1395
|
-
height: wrapper2.contentRect.height
|
|
1394
|
+
width: Math.round(wrapper2.contentRect.width),
|
|
1395
|
+
height: Math.round(wrapper2.contentRect.height)
|
|
1396
1396
|
});
|
|
1397
1397
|
});
|
|
1398
1398
|
observer.observe(wrapperRef);
|
package/dist/index.mjs
CHANGED
|
@@ -1372,8 +1372,8 @@ function ControlSlider({ settings, content, styles: sliderStyles, isEditor }) {
|
|
|
1372
1372
|
if (!sliderRef) return;
|
|
1373
1373
|
const [wrapper2] = entries;
|
|
1374
1374
|
setSliderDimensions({
|
|
1375
|
-
width: wrapper2.contentRect.width,
|
|
1376
|
-
height: wrapper2.contentRect.height
|
|
1375
|
+
width: Math.round(wrapper2.contentRect.width),
|
|
1376
|
+
height: Math.round(wrapper2.contentRect.height)
|
|
1377
1377
|
});
|
|
1378
1378
|
});
|
|
1379
1379
|
observer.observe(wrapperRef);
|