Skip to content

Commit c43bf75

Browse files
committed
Fix createCustomDisplay in hierarchy painter
Should always return promise
1 parent 0f20323 commit c43bf75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/JSRoot.hierarchy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2329,7 +2329,7 @@ JSROOT.define(['d3', 'painter'], (d3, jsrp) => {
23292329
delete this.disp;
23302330
}
23312331

2332-
this.createDisplay();
2332+
return this.createDisplay();
23332333
}
23342334

23352335
/** @summary function updates object drawings for other painters

0 commit comments

Comments
 (0)