Commit 1bfca05a authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 32416

parent 4d6ac53d
...@@ -3261,6 +3261,10 @@ Woorksheet.prototype.rebuildColors=function(){ ...@@ -3261,6 +3261,10 @@ Woorksheet.prototype.rebuildColors=function(){
cell.cleanCache(); cell.cleanCache();
}); });
this.rebuildTabColor(); this.rebuildTabColor();
for (var i = 0; i < this.aSparklineGroups.length; ++i) {
this.aSparklineGroups[i].cleanCache();
}
}; };
Woorksheet.prototype.generateFontMap=function(oFontMap){ Woorksheet.prototype.generateFontMap=function(oFontMap){
//пробегаемся по Drawing //пробегаемся по Drawing
......
...@@ -4585,6 +4585,10 @@ sparklineGroup.prototype.draw = function(oDrawingContext) { ...@@ -4585,6 +4585,10 @@ sparklineGroup.prototype.draw = function(oDrawingContext) {
this.arrCachedSparklines[i].draw(graphics); this.arrCachedSparklines[i].draw(graphics);
} }
}; };
sparklineGroup.prototype.cleanCache = function() {
// ToDo clean only colors (for color scheme)
this.arrCachedSparklines = [];
};
sparklineGroup.prototype.updateCache = function(sheet, ranges) { sparklineGroup.prototype.updateCache = function(sheet, ranges) {
var sparklineRange; var sparklineRange;
for (var i = 0; i < this.arrSparklines.length; ++i) { for (var i = 0; i < this.arrSparklines.length; ++i) {
......
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