File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -324,15 +324,18 @@ if ((typeof globalThis !== 'undefined') && !globalThis.JSROOT) {
324324
325325 globalThis . JSROOT . _complete_loading = _sync ;
326326
327- let pr = Promise . all ( [ import ( '../modules/core.mjs' ) , import ( '../modules/draw.mjs' ) , import ( '../modules/gui/HierarchyPainter.mjs' ) ] ) . then ( arr => {
327+ let pr = Promise . all ( [ import ( '../modules/core.mjs' ) , import ( '../modules/draw.mjs' ) ,
328+ import ( '../modules/gui/HierarchyPainter.mjs' ) , import ( '../modules/gui/display.mjs' ) ] ) . then ( arr => {
328329
329330 Object . assign ( globalThis . JSROOT , arr [ 0 ] , arr [ 1 ] , arr [ 2 ] ) ;
330331
331332 Object . assign ( globalThis . JSROOT . settings , workaround_settings ) ;
332333
333334 globalThis . JSROOT . _ = arr [ 0 ] . internals ;
334335
335- globalThis . JSROOT . hpainter = arr [ 2 ] . getHPainter ( ) ;
336+ getHPainter = arr [ 3 ] . getHPainter ;
337+
338+ globalThis . JSROOT . hpainter = getHPainter ( ) ;
336339 } ) ;
337340
338341 sync_promises . push ( pr ) ;
You can’t perform that action at this time.
0 commit comments