Bug 1462003 - Remove enhancement for clearing cursor because it prevents deleting polygon points. r=rcaliman
MozReview-Commit-ID: CFBlbltxkel
--- a/devtools/server/actors/highlighters/shapes.js
+++ b/devtools/server/actors/highlighters/shapes.js
@@ -521,17 +521,17 @@ class ShapesHighlighter extends AutoRefr
// Calculate constraints for a virtual viewport which ensures that a dragged
// marker remains visible even at the edges of the actual viewport.
this.setViewport(BASE_MARKER_SIZE);
break;
case "mouseup":
if (this[_dragging]) {
this[_dragging] = null;
- this._handleMarkerHover(null);
+ this._handleMarkerHover(this.hoveredPoint);
}
break;
case "mousemove":
if (!this[_dragging]) {
this._handleMouseMoveNotDragging(pageX, pageY);
return;
}
event.stopPropagation();