react-image-annotate-master-custom 0.0.26 → 0.0.30
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/RegionShapes/index.js +8 -1
- package/package.json +1 -1
package/RegionShapes/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var RegionComponents = {
|
|
|
15
15
|
return React.createElement("g", {
|
|
16
16
|
transform: "translate(".concat(region.x * iw, " ").concat(region.y * ih, ")")
|
|
17
17
|
}, React.createElement("path", {
|
|
18
|
-
d: "M 1.866 12.7018
|
|
18
|
+
d: "M 1.866 12.7018 c2.293,-2.759 7.374,-9.452 7.374,-13.202c0,-4.554 -3.766,-8.238 -8.413,-8.238c-4.646,0 -8.413,3.684 -8.413,8.238c0,3.75 5.124,10.443 7.374,13.202c0.539,0.656 1.538,0.656 2.077,0Zm-1.038,-15.957c1.537,0 2.803,1.241 2.803,2.746c0,1.505 -1.266,2.746 -2.803,2.746c-0.006,0 -0.014,0 -0.019,0c-1.537,0 -2.803,-1.241 -2.803,-2.746c0,-1.505 1.266,-2.746 2.803,-2.746c0.006,0 0.014,0 0.019,0Z",
|
|
19
19
|
style: {
|
|
20
20
|
position: "absolute",
|
|
21
21
|
zIndex: 1
|
|
@@ -25,6 +25,13 @@ var RegionComponents = {
|
|
|
25
25
|
,
|
|
26
26
|
stroke: colorAlpha((region === null || region === void 0 ? void 0 : region.color) || "#E45B21", 1),
|
|
27
27
|
fill: colorAlpha((region === null || region === void 0 ? void 0 : region.color) || "#E45B21", 1)
|
|
28
|
+
}), React.createElement("circle", {
|
|
29
|
+
cx: "0.8",
|
|
30
|
+
cy: "-0.5",
|
|
31
|
+
r: "5.817",
|
|
32
|
+
style: {
|
|
33
|
+
fill: (region === null || region === void 0 ? void 0 : region.hideColor) || (region === null || region === void 0 ? void 0 : region.isNew) ? colorAlpha("#E45B21", 1) : colorAlpha((region === null || region === void 0 ? void 0 : region.severityColor) || "#FFF", 1)
|
|
34
|
+
}
|
|
28
35
|
}));
|
|
29
36
|
}),
|
|
30
37
|
line: memo(function (_ref2) {
|