We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1af032c commit c9ea88eCopy full SHA for c9ea88e
scripts/JSRootPainter.jquery.js
@@ -347,6 +347,11 @@
347
348
// better search for images again, but not store them extra
349
var img1 = "", img2 = "", has_childs = ('_childs' in hitem);
350
+ var handle = JSROOT.getDrawHandle(hitem._kind);
351
+ if (handle!=null) {
352
+ if ('icon' in handle) img1 = handle.icon;
353
+ if ('icon2' in handle) img2 = handle.icon2;
354
+ }
355
if ('_icon' in hitem) img1 = hitem['_icon'];
356
if ('_icon2' in hitem) img2 = hitem['_icon2'];
357
if (img2.length==0) img2 = img1;
0 commit comments