Commit c4e9c5cc authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix set colors

parent f9a8ddc0
......@@ -453,7 +453,7 @@
* @param {ApiColor} color
*/
ApiRange.prototype.SetFontColor = function (color) {
this.range.setFontcolor(AscCommonExcel.CorrectAscColor(color.color));
this.range.setFontcolor(color.color);
};
/**
......@@ -581,7 +581,7 @@
* @param {ApiColor} color
*/
ApiRange.prototype.SetFillColor = function (color) {
this.range.setFill(AscCommonExcel.CorrectAscColor(color.color));
this.range.setFill(color.color);
};
/**
......@@ -1001,7 +1001,7 @@
}
if (color) {
border.c = AscCommonExcel.CorrectAscColor(color);
border.c = color.color;
}
return border;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment