react-image-annotate-master-custom 0.0.6 → 0.0.8
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/HighlightBox/index.js +6 -2
- package/package.json +1 -1
package/HighlightBox/index.js
CHANGED
|
@@ -99,7 +99,9 @@ export var HighlightBox = function HighlightBox(_ref) {
|
|
|
99
99
|
highlighted: r.highlighted
|
|
100
100
|
})
|
|
101
101
|
}, mouseEvents, {
|
|
102
|
-
style: _objectSpread({
|
|
102
|
+
style: _objectSpread({}, r.highlighted && {
|
|
103
|
+
pointerEvents: r.type !== "point" ? "none" : undefined
|
|
104
|
+
}, {
|
|
103
105
|
position: "absolute"
|
|
104
106
|
}, styleCoordsHorizontal)
|
|
105
107
|
}), React.createElement("path", {
|
|
@@ -111,7 +113,9 @@ export var HighlightBox = function HighlightBox(_ref) {
|
|
|
111
113
|
highlighted: r.highlighted
|
|
112
114
|
})
|
|
113
115
|
}, mouseEvents, {
|
|
114
|
-
style: _objectSpread({
|
|
116
|
+
style: _objectSpread({}, r.highlighted && {
|
|
117
|
+
pointerEvents: r.type !== "point" ? "none" : undefined
|
|
118
|
+
}, {
|
|
115
119
|
position: "absolute"
|
|
116
120
|
}, styleCoordsVertical)
|
|
117
121
|
}), React.createElement("path", {
|