Skip to content

Commit e840bd0

Browse files
committed
Fix graph tooltip handling
1 parent 006e56c commit e840bd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/JSRoot.more.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1440,7 +1440,7 @@ JSROOT.define(['d3', 'painter', 'math', 'gpad'], (d3, jsrp) => {
14401440
findbin = null, best_dist2 = 1e10, best = null,
14411441
msize = this.marker_size ? Math.round(this.marker_size/2 + 1.5) : 0;
14421442

1443-
this.draw_g.selectAll('.grpoint').each(() => {
1443+
this.draw_g.selectAll('.grpoint').each(function() {
14441444
let d = d3.select(this).datum();
14451445
if (d===undefined) return;
14461446
let dist2 = Math.pow(pnt.x - d.grx1, 2);

0 commit comments

Comments
 (0)