Skip to content

Commit c51c62a

Browse files
committed
Fix - pad name with spaces
Confuses d3.select() method while pad name used as selector for HTML elements
1 parent a915b0f commit c51c62a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/JSRootPainter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3987,7 +3987,7 @@
39873987
if (painter.has_canvas) {
39883988
// we select current pad, where all drawing is performed
39893989
prev_name = painter.svg_canvas().property('current_pad');
3990-
painter.svg_canvas().property('current_pad', pad.fName);
3990+
painter.svg_canvas().property('current_pad', painter.this_pad_name);
39913991
}
39923992

39933993
painter.DrawPrimitive(0, function() {

0 commit comments

Comments
 (0)