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 893912d commit 7be930dCopy full SHA for 7be930d
scripts/JSRootPainter.more.js
@@ -1768,8 +1768,8 @@
1768
var pos = d3.mouse(this.svg_frame().node()),
1769
main = this.frame_painter();
1770
1771
- this.interactive_delta_x = main ? main.x(this.interactive_bin.x) - pos[0] : 0;
1772
- this.interactive_delta_y = main ? main.y(this.interactive_bin.y) - pos[1] : 0;
+ this.interactive_delta_x = main ? main.grx(this.interactive_bin.x) - pos[0] : 0;
+ this.interactive_delta_y = main ? main.gry(this.interactive_bin.y) - pos[1] : 0;
1773
}
1774
1775
TGraphPainter.prototype.FillContextMenu = function(menu) {
0 commit comments