Skip to content

Commit 867a764

Browse files
committed
Use proper class name for display ROOT6 classes in RCanvas
1 parent c0e2271 commit 867a764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/JSRootPainter.v7.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3192,7 +3192,7 @@
31923192

31933193
var handle = { func: draw_callback };
31943194

3195-
if (snap._typename === "ROOT::Experimental::TObjectDisplayItem")
3195+
if (snap._typename === "ROOT::Experimental::RObjectDisplayItem")
31963196
if (!this.frame_painter())
31973197
return JSROOT.draw(this.divid, { _typename: "TFrame", $dummy: true }, "", function() {
31983198
handle.func("workaround"); // call function with "workaround" as argument

0 commit comments

Comments
 (0)