We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adaf987 commit 12a3edbCopy full SHA for 12a3edb
modules/hist2d/TH2Painter.mjs
@@ -746,8 +746,12 @@ class TH2Painter extends THistPainter {
746
menu.addDrawMenu('Draw with', opts, arg => {
747
if (arg.indexOf(kInspect) === 0)
748
return this.showInspector(arg);
749
+ const oldProject = this.options.Project;
750
this.decodeOptions(arg);
- this.interactiveRedraw('pad', 'drawopt');
751
+ if (oldProject === this.options.Project)
752
+ this.interactiveRedraw('pad', 'drawopt');
753
+ else
754
+ this.toggleProjection(this.options.Project);
755
});
756
757
if (this.options.Color || this.options.Contour || this.options.Hist || this.options.Surf || this.options.Lego === 12 || this.options.Lego === 14)
0 commit comments