Skip to content

Commit 498c62f

Browse files
committed
Fix - tooltips handling for TF1
1 parent 4cc59d7 commit 498c62f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

changes.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
## Changes in 5.2.x
44
1. Fix - support pow(x,n) function in formula
55
2. Fix - use pad.fFillColor for frame when fFrameFillColor==0
6-
3. Fix - correctly identify horizontal TGaxis with reverse scale
7-
4. Fix - correctly handle negative line width in exclusion
6+
3. Fix - correctly identify horizontal TGaxis with reverse scale
7+
4. Fix - correctly handle negative line width in exclusion
8+
5. Fix - tooltips handling for TF1
89

910

1011
## Changes in 5.2.3

scripts/JSRootPainter.more.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@
11091109

11101110
res.changed = gbin.property("current_bin") !== best;
11111111
res.menu = res.exact;
1112-
res.menu_dist = Math.sqrt((bin.grx-pnt.x)*(bin.grx-pnt.x) + (bin.gry-pnt.y)*(bin.grx-pnt.x));
1112+
res.menu_dist = Math.sqrt((bin.grx-pnt.x)*(bin.grx-pnt.x) + (bin.gry-pnt.y)*(bin.gry-pnt.y));
11131113

11141114
if (res.changed)
11151115
gbin.attr("cx", bin.grx)

0 commit comments

Comments
 (0)