Commit e4b7d166 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Поправил на прохождение массива (при отрисовке диапазонов формул и диаграмм).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57374 954022d7-b5bf-4e40-9824-e11837661b57
parent fb523266
...@@ -3715,9 +3715,9 @@ ...@@ -3715,9 +3715,9 @@
}; };
WorksheetView.prototype._drawFormulaRanges = function (arrRanges){ WorksheetView.prototype._drawFormulaRanges = function (arrRanges){
var lineWidth = 1, isDashLine = false, opt = this.settings, length = c_oAscFormulaRangeBorderColor.length; var i, lineWidth = 1, isDashLine = false, length = c_oAscFormulaRangeBorderColor.length;
var strokeColor, fillColor; var strokeColor, fillColor;
for (var i in arrRanges) { for (i = 0; i < arrRanges.length; ++i) {
var oFormulaRange = arrRanges[i].clone(true); var oFormulaRange = arrRanges[i].clone(true);
strokeColor = fillColor = c_oAscFormulaRangeBorderColor[i % length]; strokeColor = fillColor = c_oAscFormulaRangeBorderColor[i % length];
this._drawElements(this, this._drawSelectionElement, oFormulaRange, isDashLine, lineWidth, this._drawElements(this, this._drawSelectionElement, oFormulaRange, isDashLine, lineWidth,
......
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