Skip to content

Commit

Permalink
Fix - protect projection in lego plots
Browse files Browse the repository at this point in the history
  • Loading branch information
linev committed Jun 19, 2024
1 parent 203cf97 commit 1efc065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/hist2d/TH2Painter.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ class TH2Painter extends THistPainter {
return this.showInspector(arg);
const oldProject = this.options.Project;
this.decodeOptions(arg);
if (oldProject === this.options.Project)
if ((oldProject === this.options.Project) || this.mode3d)
this.interactiveRedraw('pad', 'drawopt');
else
this.toggleProjection(this.options.Project);
Expand Down

0 comments on commit 1efc065

Please sign in to comment.