diff --git a/build/jsroot.js b/build/jsroot.js index b4e761861..d9b9ec118 100644 --- a/build/jsroot.js +++ b/build/jsroot.js @@ -1,4 +1,4 @@ -// https://root.cern/js/ v7.7.4 +// https://root.cern/js/ v7.7.5 (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : @@ -8,11 +8,11 @@ typeof define === 'function' && define.amd ? define(['exports'], factory) : var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null; /** @summary version id * @desc For the JSROOT release the string in format 'major.minor.patch' like '7.0.0' */ -const version_id = '7.7.4', +const version_id = '7.7.x', /** @summary version date * @desc Release date in format day/month/year like '14/04/2022' */ -version_date = '30/09/2024', +version_date = '7/10/2024', /** @summary version id and date * @desc Produced by concatenation of {@link version_id} and {@link version_date} @@ -8716,7 +8716,7 @@ function parseLatex(node, arg, label, curr) { elem.attr('fill', curr.color || arg.color || null); // set font size directly to element to avoid complex control - if (curr.fisze !== curr.font.size) + if (curr.fsize !== curr.font.size) elem.attr('font-size', Math.round(curr.fsize)); if (curr.font && curr.font.isSymbol) @@ -62297,7 +62297,8 @@ class TAxisPainter extends ObjectPainter { this.nticks2 = 1; } this.noexp = axis?.TestBit(EAxisBits.kNoExponent); - if ((this.scale_max < 300) && (this.scale_min > 0.3) && !this.noexp_changed) this.noexp = true; + if ((this.scale_max < 300) && (this.scale_min > 0.3) && !this.noexp_changed && (this.log === 1)) + this.noexp = true; this.moreloglabels = axis?.TestBit(EAxisBits.kMoreLogLabels); this.format = this.formatLog; } else if (this.kind === kAxisLabels) { diff --git a/changes.md b/changes.md index 03b7ca217..0488f4354 100644 --- a/changes.md +++ b/changes.md @@ -1,5 +1,10 @@ # JSROOT changelog +## Changes in 7.7.x +1. Fix - can enable exponent only for log10 axis scale +2. Fix - proper set custom font size in latex + + ## Changes in 7.7.4 1. Fix - TGraph Y range selection, do not cross 0 2. Fix - correctly handle `#font[id]` in latex diff --git a/modules/core.mjs b/modules/core.mjs index d36f7566f..a23b562aa 100644 --- a/modules/core.mjs +++ b/modules/core.mjs @@ -1,10 +1,10 @@ /** @summary version id * @desc For the JSROOT release the string in format 'major.minor.patch' like '7.0.0' */ -const version_id = '7.7.4', +const version_id = '7.7.x', /** @summary version date * @desc Release date in format day/month/year like '14/04/2022' */ -version_date = '30/09/2024', +version_date = '7/10/2024', /** @summary version id and date * @desc Produced by concatenation of {@link version_id} and {@link version_date} diff --git a/package.json b/package.json index fc5fc48ee..9358c0cc5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jsroot", - "version": "7.7.4", + "version": "7.7.5", "engines": { "node": ">= 0.18.0" },