@fleet-frontend/mower-maps 0.2.0-beta.46 → 0.2.0-beta.47
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
|
@@ -25768,7 +25768,7 @@ const DoodleTransform = ({ data, isSelected: _isSelected, onSelect }) => {
|
|
|
25768
25768
|
return editMapInfo?.elementType === DataType.DOODLE;
|
|
25769
25769
|
}
|
|
25770
25770
|
return !editMapInfo?.elementType;
|
|
25771
|
-
}, [editMapInfo?.elementType, platform]);
|
|
25771
|
+
}, [editMapInfo?.elementType, platform, editMap]);
|
|
25772
25772
|
// 将 DoodleData 转换为父 SVG 坐标系的元素点数组
|
|
25773
25773
|
const transformedElements = useMemo(() => {
|
|
25774
25774
|
return transformSvgElements(data);
|
package/dist/index.js
CHANGED
|
@@ -25788,7 +25788,7 @@ const DoodleTransform = ({ data, isSelected: _isSelected, onSelect }) => {
|
|
|
25788
25788
|
return editMapInfo?.elementType === exports.DataType.DOODLE;
|
|
25789
25789
|
}
|
|
25790
25790
|
return !editMapInfo?.elementType;
|
|
25791
|
-
}, [editMapInfo?.elementType, platform]);
|
|
25791
|
+
}, [editMapInfo?.elementType, platform, editMap]);
|
|
25792
25792
|
// 将 DoodleData 转换为父 SVG 坐标系的元素点数组
|
|
25793
25793
|
const transformedElements = React.useMemo(() => {
|
|
25794
25794
|
return transformSvgElements(data);
|