Skip to content

Commit 294474b

Browse files
committed
Fix - palette drawing in asimage
1 parent 05d9a05 commit 294474b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/draw/TASImagePainter.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ class TASImagePainter extends ObjectPainter {
382382

383383
this.selectCurrentPad(prev_name);
384384
// mark painter as secondary - not in list of TCanvas primitives
385-
pal_painter.setSecondary(this);
385+
pal_painter.setSecondaryId(this);
386386

387387
// make dummy redraw, palette will be updated only from histogram painter
388388
pal_painter.redraw = function() {};

0 commit comments

Comments
 (0)