Skip to content

Commit 14bef92

Browse files
committed
Build with TTree::draw fix
1 parent 7bbe265 commit 14bef92

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

build/jsroot.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// https://root.cern/js/ v7.8.2
1+
// https://root.cern/js/ v7.8.3
22
(function (global, factory) {
33
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
44
typeof define === 'function' && define.amd ? define(['exports'], factory) :
@@ -8,11 +8,11 @@ typeof define === 'function' && define.amd ? define(['exports'], factory) :
88
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
99
/** @summary version id
1010
* @desc For the JSROOT release the string in format 'major.minor.patch' like '7.0.0' */
11-
const version_id = '7.8.2',
11+
const version_id = '7.8.x',
1212

1313
/** @summary version date
1414
* @desc Release date in format day/month/year like '14/04/2022' */
15-
version_date = '26/03/2025',
15+
version_date = '9/04/2025',
1616

1717
/** @summary version id and date
1818
* @desc Produced by concatenation of {@link version_id} and {@link version_date}
@@ -102338,9 +102338,13 @@ class TDrawSelector extends TSelector {
102338102338

102339102339
if (args.drawopt !== undefined)
102340102340
this.histo_drawopt = args.drawopt;
102341+
else if (this.graph)
102342+
this.histo_drawopt = 'P';
102341102343
else
102342102344
this.histo_drawopt = (this.ndim === 2) ? 'col' : '';
102343102345

102346+
args.drawopt = this.histo_drawopt;
102347+
102344102348
return true;
102345102349
}
102346102350

@@ -149538,7 +149542,7 @@ async function treeDrawProgress(obj, final) {
149538149542
if (final) console.log('no result after tree drawing');
149539149543
this.last_pr = false; // return false indicating no drawing is done
149540149544
} else {
149541-
this.last_pr = drawTreeDrawResult(this.drawid, obj).then(p => {
149545+
this.last_pr = drawTreeDrawResult(this.drawid, obj, this.drawopt).then(p => {
149542149546
this.obj_painter = p;
149543149547
if (!final) this.last_pr = null;
149544149548
return p; // return painter for histogram

0 commit comments

Comments
 (0)