Commit f5362aef authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

addMod -> addColorMod(использую для затемнения боковых сторон)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68386 954022d7-b5bf-4e40-9824-e11837661b57
parent 119cfc7c
......@@ -3045,10 +3045,7 @@ drawBarChart.prototype =
else
cColorMod.val = 35000;
cColorMod.name = "shade";
if(duplicateBrush.fill.color)
duplicateBrush.fill.color.Mods.addMod(cColorMod);
duplicateBrush.addColorMod(cColorMod);
duplicateBrush.calculate(props.theme, props.slide, props.layout, props.master, new CUniColor().RGBA);
pen.setFill(duplicateBrush);
......@@ -6230,8 +6227,7 @@ drawHBarChart.prototype =
else
cColorMod.val = 35000;
cColorMod.name = "shade";
if(duplicateBrush.fill.color)
duplicateBrush.fill.color.Mods.addMod(cColorMod);
duplicateBrush.addColorMod(cColorMod);
duplicateBrush.calculate(props.theme, props.slide, props.layout, props.master, new CUniColor().RGBA);
pen.setFill(duplicateBrush);
......
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