Commit 6a008ff7 authored by Alexander.Trofimov's avatar Alexander.Trofimov

update selection after change sparkline props

parent 04474543
......@@ -2620,6 +2620,7 @@ var editor;
var changedSparkline = AscCommon.g_oTableId.Get_ById(id);
if (changedSparkline) {
changedSparkline.set(oSparklineGroup);
this.wb._onWSSelectionChanged();
this.wb.getWorksheet().draw();
}
};
......
......@@ -5013,18 +5013,17 @@ CellArea.prototype = {
return true;
};
sparklineGroup.prototype.asc_getStyles = function()
{
sparklineGroup.prototype.asc_getStyles = function () {
var aRet = [];
var nStyleIndex = -1;
for(var i = 0; i < 36; ++i){
var nStyleIndex = -1;
for (var i = 0; i < 36; ++i) {
var oSparklineGroup = this.asc_createSparklineGroupByStyle(i);
if(nStyleIndex === -1 && this.isEqualColors(oSparklineGroup)){
nStyleIndex = i;
}
if (nStyleIndex === -1 && this.isEqualColors(oSparklineGroup)) {
nStyleIndex = i;
}
aRet.push(this.asc_getThumbBySparklineGroup(oSparklineGroup));
}
aRet.push(nStyleIndex);
aRet.push(nStyleIndex);
return aRet;
};
......
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