[SSE] Fix scale settings
This commit is contained in:
parent
a9f022503d
commit
335a21c843
|
@ -1580,7 +1580,7 @@ define([
|
||||||
|
|
||||||
if (this.scaleProps ) {
|
if (this.scaleProps ) {
|
||||||
var colors = this.scaleProps.asc_getColors();
|
var colors = this.scaleProps.asc_getColors();
|
||||||
colors[picker.options.type] = Common.Utils.ThemeColor.getRgbColor(picker.currentColor);
|
colors[Math.min(picker.options.type, colors.length-1)] = Common.Utils.ThemeColor.getRgbColor(picker.currentColor);
|
||||||
this.scaleProps.asc_setColors(colors);
|
this.scaleProps.asc_setColors(colors);
|
||||||
this.previewFormat();
|
this.previewFormat();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue