Skip to content

Commit 2bbbf68

Browse files
committed
Fix - use flag from palette painter
By mistake pad painter was used
1 parent 9383f7a commit 2bbbf68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/hist2d/THistPainter.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2206,8 +2206,8 @@ class THistPainter extends ObjectPainter {
22062206

22072207
// place colz in the beginning, that stat box is always drawn on the top
22082208
this.addFunction(pal, true);
2209-
} else if (pp?._palette_vertical !== undefined)
2210-
this.options.Zvert = pp._palette_vertical;
2209+
} else if (pal_painter?._palette_vertical !== undefined)
2210+
this.options.Zvert = pal_painter._palette_vertical;
22112211

22122212
const fp = this.getFramePainter();
22132213

0 commit comments

Comments
 (0)