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 767091a commit ce4cee4Copy full SHA for ce4cee4
scripts/JSRootPainter.v7hist.js
@@ -622,13 +622,13 @@
622
623
THistPainter.prototype.FillPaletteMenu = function(menu) {
624
625
- var curr = this.options.Palette;
+ var curr = this.options.Palette, hpainter = this;
626
if ((curr===null) || (curr===0)) curr = JSROOT.gStyle.Palette;
627
628
function change(arg) {
629
- this.options.Palette = parseInt(arg);
630
- this.GetPalette(true);
631
- this.Redraw(); // redraw histogram
+ hpainter.options.Palette = parseInt(arg);
+ hpainter.GetPalette(true);
+ hpainter.Redraw(); // redraw histogram
632
};
633
634
function add(id, name, more) {
0 commit comments