mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
Правка для отрицательных значений для ConditionalFormatting в colorScale
git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47280 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
committed by
Alexander.Trofimov
parent
23e8f69598
commit
518899bd92
@ -1044,11 +1044,11 @@
|
||||
_initConditionalFormatting: function () {
|
||||
var oGradient = null;
|
||||
var aCFs = this.model.aConditionalFormatting;
|
||||
var aRules = null;
|
||||
var oRule = null;
|
||||
var aRules, oRule;
|
||||
var oRuleElement = null;
|
||||
var min = Number.MAX_VALUE;
|
||||
var max = Number.MIN_VALUE, tmp;
|
||||
var max = -Number.MAX_VALUE;
|
||||
var tmp;
|
||||
var arrayCells = [];
|
||||
for (var i in aCFs) {
|
||||
if (!aCFs.hasOwnProperty(i) )
|
||||
@ -1097,7 +1097,7 @@
|
||||
|
||||
arrayCells.splice(0, arrayCells.length);
|
||||
min = Number.MAX_VALUE;
|
||||
max = Number.MIN_VALUE;
|
||||
max = -Number.MAX_VALUE;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user