Bug 1451353 - Changed move to hoverCursor to allow the hover animation to go from grab to grabbing since move does not exist in Linux. r=rcaliman. draft
authorWhitney Meulink <wmeulink@gmail.com>
Tue, 29 May 2018 11:48:28 -0700
changeset 801109 8bc61a9260d34d708c42a9937ec81f158c4b5cc0
parent 800874 f01bb6245db1ea2a87e5360104a4110571265137
push id111576
push userbmo:wmeulink@gmail.com
push dateTue, 29 May 2018 18:51:23 +0000
reviewersrcaliman
bugs1451353
milestone62.0a1
Bug 1451353 - Changed move to hoverCursor to allow the hover animation to go from grab to grabbing since move does not exist in Linux. r=rcaliman. MozReview-Commit-ID: 7e2VzfCETD3
devtools/server/actors/highlighters/shapes.js
--- a/devtools/server/actors/highlighters/shapes.js
+++ b/devtools/server/actors/highlighters/shapes.js
@@ -1372,17 +1372,17 @@ class ShapesHighlighter extends AutoRefr
       if (!point) {
         this.setCursor("auto");
         return;
       }
       let { nw, ne, sw, se, n, w, s, e,
             rotatePoint, center } = this.transformedBoundingBox;
 
       const points = [
-        { pointName: "translate", x: center[0], y: center[1], cursor: "move" },
+        { pointName: "translate", x: center[0], y: center[1], cursor: hoverCursor },
         { pointName: "scale-se", x: se[0], y: se[1], anchor: "nw" },
         { pointName: "scale-ne", x: ne[0], y: ne[1], anchor: "sw" },
         { pointName: "scale-sw", x: sw[0], y: sw[1], anchor: "ne" },
         { pointName: "scale-nw", x: nw[0], y: nw[1], anchor: "se" },
         { pointName: "scale-n", x: n[0], y: n[1], anchor: "s" },
         { pointName: "scale-s", x: s[0], y: s[1], anchor: "n" },
         { pointName: "scale-e", x: e[0], y: e[1], anchor: "w" },
         { pointName: "scale-w", x: w[0], y: w[1], anchor: "e" },