Skip to content

Commit

Permalink
Build with title height fix
Browse files Browse the repository at this point in the history
  • Loading branch information
linev committed Oct 7, 2024
1 parent 3d77403 commit 16c7d22
Show file tree
Hide file tree
Showing 2 changed files with 3 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 @@ -72668,10 +72668,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
1 change: 1 addition & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
1. Fix - can enable exponent only for log10 axis scale
2. Fix - proper set custom font size in latex
3. Fix - do not force style 8 for hist markers
4. Fix - ensure minimal hist title height


## Changes in 7.7.4
Expand Down

0 comments on commit 16c7d22

Please sign in to comment.