Skip to content

Commit 99f3ff5

Browse files
committed
Fix - correctly show th2 overflow stats
1 parent 7fb23c2 commit 99f3ff5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

changes.md

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

33
## Changes in 5.3.x
44
1. Fix - use FontSize when draw TLegend entries
5-
5+
2. Fix - correctly show th2 overflow stats
66

77
## Changes in 5.3.1
88
1. Fix - show TH2 projections also when tooltip is disabled

scripts/JSRootPainter.hist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1668,7 +1668,7 @@
16681668
var line = lines[j];
16691669
if (j>0) maxlen = Math.max(maxlen, line.length);
16701670
if ((j == 0) || (line.indexOf('|') < 0)) continue;
1671-
if (first_stat === 0) first_stat = lines.length-1;
1671+
if (first_stat === 0) first_stat = j;
16721672
var parts = line.split("|");
16731673
if (parts.length > num_cols)
16741674
num_cols = parts.length;

0 commit comments

Comments
 (0)