Skip to content

Commit

Permalink
Build with hist title height fix
Browse files Browse the repository at this point in the history
  • Loading branch information
linev committed Oct 7, 2024
1 parent ee2cf09 commit 98fba1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/jsroot.js
Original file line number Diff line number Diff line change
Expand Up @@ -73537,10 +73537,10 @@ class TPavePainter extends ObjectPainter {
} else if ((opt === 'postitle') || painter.isDummyPos(pave)) {
const st = gStyle, fp = painter.getFramePainter();
if (st && fp) {
const midx = st.fTitleX, y2 = st.fTitleY;
const midx = st.fTitleX, y2 = st.fTitleY, fsz = st.fTitleFontSize;
let w = st.fTitleW, h = st.fTitleH;

if (!h) h = (y2 - fp.fY2NDC) * 0.7;
if (!h) h = Math.max((y2 - fp.fY2NDC) * 0.7, (fsz < 1) ? 1.1 * fsz : 1.1 * fsz / fp.getFrameWidth());
if (!w) w = fp.fX2NDC - fp.fX1NDC;
if (!Number.isFinite(h) || (h <= 0)) h = 0.06;
if (!Number.isFinite(w) || (w <= 0)) w = 0.44;
Expand Down
2 changes: 2 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
33. Fix - properly redraw TMultiGraph
34. Fix - show empty bin in TProfile2D if it has entries #316
35. Fix - unzooming on log scale was extending range forevever
36. Fix - do not force style 8 for hist markers
37. Fix - ensure minimal hist title height


## Changes in 7.7.4
Expand Down

0 comments on commit 98fba1e

Please sign in to comment.