Commit 66fe1cd1 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix bug with alpha in wordarts

parent c2508f89
......@@ -2180,6 +2180,11 @@ CTextDrawer.prototype =
{
if(oTextPr.TextFill)
{
if(AscFormat.isRealNumber(oTextPr.TextFill.transparent) && oTextPr.TextFill.transparent < 254.5){
var oRetFill = oTextPr.TextFill.createDuplicate();
oRetFill.transparent = 255.0 - oTextPr.TextFill.transparent;
return oRetFill;
}
return oTextPr.TextFill;
}
if(oTextPr.Unifill)
......
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