We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cc0a15 commit 95a81fcCopy full SHA for 95a81fc
src/plots/polar/polar.js
@@ -1196,11 +1196,8 @@ proto.updateAngularDrag = function(fullLayout) {
1196
var fullLayoutNow = _this.gd._fullLayout;
1197
var polarLayoutNow = fullLayoutNow[_this.id];
1198
1199
- dx *= fullLayout._inverseScaleX;
1200
- dy *= fullLayout._inverseScaleY;
1201
-
1202
- var x1 = x0 + dx;
1203
- var y1 = y0 + dy;
+ var x1 = x0 + dx * fullLayout._inverseScaleX;
+ var y1 = y0 + dy * fullLayout._inverseScaleY;
1204
var a1 = xy2a(x1, y1);
1205
var da = rad2deg(a1 - a0);
1206
rot1 = rot0 + da;
0 commit comments