Skip to content

Commit 9cb2e17

Browse files
committed
Build
1 parent e2d1079 commit 9cb2e17

2 files changed

Lines changed: 11 additions & 30 deletions

File tree

‎build/jsroot.js‎

Lines changed: 10 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const version_id = 'dev',
1414

1515
/** @summary version date
1616
* @desc Release date in format day/month/year like '14/04/2022' */
17-
version_date = '5/10/2026',
17+
version_date = '9/10/2026',
1818

1919
/** @summary version id and date
2020
* @desc Produced by concatenation of {@link version_id} and {@link version_date}
@@ -94842,23 +94842,6 @@ class TPavePainter extends ObjectPainter {
9484294842
}
9484394843
}
9484494844

94845-
/** @summary Get title text */
94846-
#getTitle() {
94847-
const pave = this.getObject();
94848-
return pave?.fLines?.arr[0] ? pave?.fLines.arr[0].fTitle : '';
94849-
}
94850-
94851-
/** @summary Change title text */
94852-
#setTitle(lbl) {
94853-
const ltx = create$1(clTLatex),
94854-
pave = this.getObject();
94855-
94856-
ltx.fTitle = isStr(lbl) ? lbl : '';
94857-
pave.fLines.Clear();
94858-
pave.fLines.Add(ltx);
94859-
this.interactiveRedraw(true, `exec:Clear();;AddText("${ltx.fTitle}")`);
94860-
}
94861-
9486294845
/** @summary Change label text */
9486394846
#setLabel(lbl) {
9486494847
const pave = this.getObject();
@@ -94912,15 +94895,6 @@ class TPavePainter extends ObjectPainter {
9491294895
}, 'Corner radius when ARC is enabled');
9491394896
menu.endsub();
9491494897

94915-
if (this.isTitle()) {
94916-
menu.sub('Title', () => menu.input('Enter new title', this.#getTitle())
94917-
.then(lbl => this.#setTitle(lbl)), 'Enter new title');
94918-
menu.add('Clear', () => this.#setTitle(''), 'Clear title');
94919-
menu.add('Copy', () => navigator.clipboard.writeText(this.#getTitle()), 'Copy title into clipboard');
94920-
menu.add('Paste', () => navigator.clipboard.readText().then(lbl => this.#setTitle(lbl)), 'Set title from clipboard');
94921-
menu.endsub();
94922-
}
94923-
9492494898
const is_text = this.isStats() || this.isPaveText() || this.isPavesText() || this.isDiamond();
9492594899

9492694900
if (is_text || (pave._typename === clTPaveLabel) || (pave._typename === clTPaveClass)) {
@@ -97599,8 +97573,13 @@ class THistPainter extends ObjectPainter {
9759997573
menu.addchk(this.toggleTitle(kOnlyCheck), 'Show', () => this.toggleTitle());
9760097574
menu.add('Edit', () => menu.input('Enter histogram title', histo.fTitle).then(res => {
9760197575
setHistogramTitle(histo, res);
97602-
this.interactiveRedraw();
97576+
this.interactiveRedraw('pad', `exec:SetTitle("${res}")`);
9760397577
}));
97578+
menu.add('Copy', () => navigator.clipboard.writeText(histo.fTitle), 'Copy histogram title into clipboard');
97579+
menu.add('Paste', () => navigator.clipboard.readText().then(res => {
97580+
setHistogramTitle(histo, res);
97581+
this.interactiveRedraw('pad', `exec:SetTitle("${res}")`);
97582+
}), 'Set histogram title from clipboard');
9760497583
menu.endsub();
9760597584
}
9760697585

@@ -126219,7 +126198,9 @@ class TBuffer {
126219126198
this.o += 4;
126220126199
if (high < 0x80000000)
126221126200
return (high < 0x200000) ? (high * 0x100000000 + low) : (BigInt(high) * BigInt(0x100000000) + BigInt(low));
126222-
return (~high < 0x200000) ? (-1 - ((~high) * 0x100000000 + ~low)) : (BigInt(-1) - (BigInt(~high) * BigInt(0x100000000) + BigInt(~low)));
126201+
// ~ returns signed int32, convert back to unsigned
126202+
const nhigh = ~high >>> 0, nlow = ~low >>> 0;
126203+
return (nhigh < 0x200000) ? (-1 - (nhigh * 0x100000000 + nlow)) : (BigInt(-1) - (BigInt(nhigh) * BigInt(0x100000000) + BigInt(nlow)));
126223126204
}
126224126205

126225126206
/** @summary read float */

‎modules/core.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const version_id = 'dev',
66

77
/** @summary version date
88
* @desc Release date in format day/month/year like '14/04/2022' */
9-
version_date = '5/10/2026',
9+
version_date = '9/10/2026',
1010

1111
/** @summary version id and date
1212
* @desc Produced by concatenation of {@link version_id} and {@link version_date}

0 commit comments

Comments
 (0)