Skip to content

Commit 30ea165

Browse files
committed
Build with SWAN notebook fix
1 parent 1f10a6a commit 30ea165

3 files changed

Lines changed: 17 additions & 6 deletions

File tree

build/jsroot.js

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const version_id = '7.11.x',
1414

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

1919
/** @summary version id and date
2020
* @desc Produced by concatenation of {@link version_id} and {@link version_date}
@@ -97170,6 +97170,12 @@ class THistPainter extends ObjectPainter {
9717097170

9717197171
if (!histo.fFunctions)
9717297172
histo.fFunctions = create$1(clTList);
97173+
else if (histo.fFunctions._typename !== clTList) {
97174+
// Fix - seen once in jupyter notebook that typename was TList*
97175+
console.error(`Fixing wrong typename ${histo.fFunctions._typename} for histogram list of functions`);
97176+
histo.fFunctions._typename = clTList;
97177+
exports.addMethods(histo.fFunctions, clTList);
97178+
}
9717397179

9717497180
if (asfirst)
9717597181
histo.fFunctions.AddFirst(obj);
@@ -170863,8 +170869,10 @@ async function buildGUI(gui_element, gui_kind = '') {
170863170869
if (divsize)
170864170870
myDiv.style('position', 'relative').style('width', divsize[0] + 'px').style('height', divsize[1] + 'px');
170865170871
else if (!isBatchMode()) {
170866-
select('html').style('height', '100%');
170867-
select('body').style('min-height', '100%').style('margin', 0).style('overflow', 'hidden');
170872+
if (!nb) {
170873+
select('html').style('height', '100%');
170874+
select('body').style('min-height', '100%').style('margin', 0).style('overflow', 'hidden');
170875+
}
170868170876
myDiv.style('position', 'absolute').style('left', 0).style('top', 0).style('bottom', 0).style('right', 0).style('padding', '1px');
170869170877
}
170870170878
if (canvsize) {
@@ -170900,7 +170908,9 @@ async function buildGUI(gui_element, gui_kind = '') {
170900170908
if (d.has('websocket'))
170901170909
opt += ';websocket';
170902170910
return hpainter.display('', opt);
170903-
}).then(() => hpainter);
170911+
}).then(() => {
170912+
return hpainter;
170913+
});
170904170914
}
170905170915

170906170916
/** @summary Draw TEllipse

changes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
## Changes in 7.11.x
44
1. Fix - prevent very long header in context menu
55
2. Fix - JSON production for TWebCanvas
6-
1. Fix - check evaluated value of TF1
6+
3. Fix - check evaluated value of TF1
7+
4. Fix - corrupted page layout in SWAN after calling %rootbrowse
78

89

910
## Changes in 7.11.0

modules/core.mjs

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

77
/** @summary version date
88
* @desc Release date in format day/month/year like '14/04/2022' */
9-
version_date = '23/07/2026',
9+
version_date = '24/07/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)