Skip to content

Commit 825c6d3

Browse files
committed
Fix - use provided options in JSROOT.redraw function
Otherwise option ignored for histograms. One cannot change it this way - which can be desired
1 parent 30df466 commit 825c6d3

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
@@ -6348,7 +6348,7 @@
63486348
for (var i = 0; i < can_painter.painters.length; ++i) {
63496349
var painter = can_painter.painters[i];
63506350
if (painter.MatchObjectType(obj._typename))
6351-
if (painter.UpdateObject(obj)) {
6351+
if (painter.UpdateObject(obj, opt)) {
63526352
can_painter.RedrawPad();
63536353
JSROOT.CallBack(callback, painter);
63546354
return painter;

0 commit comments

Comments
 (0)