Commit 30a7fd0c authored by Alexander.Trofimov's avatar Alexander.Trofimov

clone color in set method

parent 4e969264
......@@ -5087,7 +5087,7 @@ CellArea.prototype = {
return propOld;
};
var getColor = function (color) {
return color instanceof Asc.asc_CColor ? CorrectAscColor(color) : color;
return color instanceof Asc.asc_CColor ? CorrectAscColor(color) : color ? color.clone(): color;
};
History.Create_NewPoint();
......
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