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 = ...@@ -3045,10 +3045,7 @@ drawBarChart.prototype =
else else
cColorMod.val = 35000; cColorMod.val = 35000;
cColorMod.name = "shade"; cColorMod.name = "shade";
duplicateBrush.addColorMod(cColorMod);
if(duplicateBrush.fill.color)
duplicateBrush.fill.color.Mods.addMod(cColorMod);
duplicateBrush.calculate(props.theme, props.slide, props.layout, props.master, new CUniColor().RGBA); duplicateBrush.calculate(props.theme, props.slide, props.layout, props.master, new CUniColor().RGBA);
pen.setFill(duplicateBrush); pen.setFill(duplicateBrush);
...@@ -6230,8 +6227,7 @@ drawHBarChart.prototype = ...@@ -6230,8 +6227,7 @@ drawHBarChart.prototype =
else else
cColorMod.val = 35000; cColorMod.val = 35000;
cColorMod.name = "shade"; cColorMod.name = "shade";
if(duplicateBrush.fill.color) duplicateBrush.addColorMod(cColorMod);
duplicateBrush.fill.color.Mods.addMod(cColorMod);
duplicateBrush.calculate(props.theme, props.slide, props.layout, props.master, new CUniColor().RGBA); duplicateBrush.calculate(props.theme, props.slide, props.layout, props.master, new CUniColor().RGBA);
pen.setFill(duplicateBrush); 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