Skip to content

Commit 1efc065

Browse files
committed
Fix - protect projection in lego plots
1 parent 203cf97 commit 1efc065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/hist2d/TH2Painter.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ class TH2Painter extends THistPainter {
748748
return this.showInspector(arg);
749749
const oldProject = this.options.Project;
750750
this.decodeOptions(arg);
751-
if (oldProject === this.options.Project)
751+
if ((oldProject === this.options.Project) || this.mode3d)
752752
this.interactiveRedraw('pad', 'drawopt');
753753
else
754754
this.toggleProjection(this.options.Project);

0 commit comments

Comments
 (0)