Skip to content

Commit

Permalink
[jsroot] fix small typos, update version
Browse files Browse the repository at this point in the history
  • Loading branch information
linev committed Jul 10, 2020
1 parent 9ea9e12 commit 10a483b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/scripts/JSRootCore.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@

"use strict";

JSROOT.version = "ROOT 6.22.00";
JSROOT.version = "ROOT 6.22.02";

JSROOT.source_dir = "";
JSROOT.source_min = false;
Expand Down
2 changes: 1 addition & 1 deletion js/scripts/JSRootPainter.hist.js
Original file line number Diff line number Diff line change
Expand Up @@ -6540,7 +6540,7 @@

// if there is auto colors assignment, try to provide it
if (this.options._pfc || this.options._plc || this.options._pmc) {
if (!this.pallette && JSROOT.Painter.GetColorPalette)
if (!this.palette && JSROOT.Painter.GetColorPalette)
this.palette = JSROOT.Painter.GetColorPalette();
if (this.palette) {
var color = this.palette.calcColor(rindx, nhists+1);
Expand Down
2 changes: 1 addition & 1 deletion js/scripts/JSRootPainter.hist3d.js
Original file line number Diff line number Diff line change
Expand Up @@ -2118,7 +2118,7 @@
tip.x1 = Math.max(-main.size_xy3d, main.grx(histo.fXaxis.GetBinLowEdge(tip.ix)));
tip.x2 = Math.min(main.size_xy3d, main.grx(histo.fXaxis.GetBinLowEdge(tip.ix+1)));
tip.y1 = Math.max(-main.size_xy3d, main.gry(histo.fYaxis.GetBinLowEdge(tip.iy)));
tip.y2 = Math.min(main.size_xy3d, main.gry(histo.fXaxis.GetBinLowEdge(tip.iy+1)));
tip.y2 = Math.min(main.size_xy3d, main.gry(histo.fYaxis.GetBinLowEdge(tip.iy+1)));

tip.z1 = main.grz(tip.value-tip.error < this.zmin ? this.zmin : tip.value-tip.error);
tip.z2 = main.grz(tip.value+tip.error > this.zmax ? this.zmax : tip.value+tip.error);
Expand Down
2 changes: 1 addition & 1 deletion js/scripts/JSRootPainter.more.js
Original file line number Diff line number Diff line change
Expand Up @@ -3309,7 +3309,7 @@

// if there is auto colors assignment, try to provide it
if (this._pfc || this._plc || this._pmc) {
if (!this.pallette && JSROOT.Painter.GetColorPalette)
if (!this.palette && JSROOT.Painter.GetColorPalette)
this.palette = JSROOT.Painter.GetColorPalette();
if (this.palette) {
var color = this.palette.calcColor(indx, graphs.arr.length+1);
Expand Down

0 comments on commit 10a483b

Please sign in to comment.