Commit 87d194b2 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 30411 - [Text Art] Цвет курсора не изменяется на цвет шрифта в тексте

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64955 954022d7-b5bf-4e40-9824-e11837661b57
parent 0b2b4a90
......@@ -1130,7 +1130,13 @@ ParaRun.prototype.Recalculate_CurPos = function(X, Y, CurrentRun, _CurRange, _Cu
var RGBA;
if(CurTextPr.Unifill)
if(CurTextPr.TextFill)
{
CurTextPr.TextFill.check(Para.Get_Theme(), Para.Get_ColorMap());
var oColor = CurTextPr.TextFill.getRGBAColor();
Para.DrawingDocument.SetTargetColor( oColor.R, oColor.G, oColor.B );
}
else if(CurTextPr.Unifill)
{
CurTextPr.Unifill.check(Para.Get_Theme(), Para.Get_ColorMap());
RGBA = CurTextPr.Unifill.getRGBAColor();
......
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