Commit 1f7c7477 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 33656

parent ad5196df
......@@ -2183,7 +2183,7 @@ CTextDrawer.prototype =
{
if(AscFormat.isRealNumber(oTextPr.TextFill.transparent) && oTextPr.TextFill.transparent < 254.5){
var oRetFill = oTextPr.TextFill.createDuplicate();
oRetFill.transparent = 255.0 - oTextPr.TextFill.transparent;
//oRetFill.transparent = 255.0 - oTextPr.TextFill.transparent;
return oRetFill;
}
return oTextPr.TextFill;
......
......@@ -208,7 +208,7 @@ CHistory.prototype =
for (var i = aItems.length - 1; i > _bottomIndex; i--)
{
var oItem = aItems[i];
oItem.Class.Undo(oItem.Data);
oItem.Data.Undo();
}
oPoint.Items.length = _bottomIndex + 1;
this.Document.Set_SelectionState( oPoint.State );
......
......@@ -7790,6 +7790,9 @@ CTextPr.prototype =
if(undefined != TextPr.AscUnifill){
return false;
}
if(undefined != TextPr.AscFill){
return false;
}
return true;
},
......
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