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.
@@ -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", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-image-annotate-master-custom",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "dependencies": {
5
5
  "@fortawesome/fontawesome-svg-core": "^1.2.12",
6
6
  "@fortawesome/free-solid-svg-icons": "^5.6.3",