From f6e9d39174f1229cb8c2686616495b6dd88eb5aa Mon Sep 17 00:00:00 2001 From: Sergey Linev Date: Wed, 23 Oct 2024 13:39:04 +0200 Subject: [PATCH] Fix JSRoot.core.js - hpainter setting --- scripts/JSRoot.core.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/JSRoot.core.js b/scripts/JSRoot.core.js index b9431dec8..97a610a8b 100644 --- a/scripts/JSRoot.core.js +++ b/scripts/JSRoot.core.js @@ -332,9 +332,7 @@ if ((typeof globalThis !== 'undefined') && !globalThis.JSROOT) { globalThis.JSROOT._ = arr[0].internals; - getHPainter = arr[2].getHPainter; - - globalThis.JSROOT.hpainter = getHPainter(); + globalThis.JSROOT.hpainter = arr[2].getHPainter(); }); sync_promises.push(pr);