@fleet-frontend/mower-maps 0.2.0-beta.21 → 0.2.0-beta.22
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.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -19899,7 +19899,7 @@ const useCreateVisionOffElement = () => {
|
|
|
19899
19899
|
const centerPoint = useMemo(() => {
|
|
19900
19900
|
if (!svgViewBox)
|
|
19901
19901
|
return null;
|
|
19902
|
-
const center = [svgViewBox.x + svgViewBox.width / 2,
|
|
19902
|
+
const center = [svgViewBox.x + svgViewBox.width / 2, svgViewBox.y + svgViewBox.height / 2];
|
|
19903
19903
|
return center;
|
|
19904
19904
|
}, [svgViewBox]);
|
|
19905
19905
|
const elementWidth = useMemo(() => {
|
package/dist/index.js
CHANGED
|
@@ -19919,7 +19919,7 @@ const useCreateVisionOffElement = () => {
|
|
|
19919
19919
|
const centerPoint = React.useMemo(() => {
|
|
19920
19920
|
if (!svgViewBox)
|
|
19921
19921
|
return null;
|
|
19922
|
-
const center = [svgViewBox.x + svgViewBox.width / 2,
|
|
19922
|
+
const center = [svgViewBox.x + svgViewBox.width / 2, svgViewBox.y + svgViewBox.height / 2];
|
|
19923
19923
|
return center;
|
|
19924
19924
|
}, [svgViewBox]);
|
|
19925
19925
|
const elementWidth = React.useMemo(() => {
|