Commit 51421d53 authored by SergeyLuzyanin's avatar SergeyLuzyanin

color for hyperlink underlining

parent 6313fac6
......@@ -4897,7 +4897,13 @@ ParaRun.prototype.Draw_Lines = function(PDSL)
CurColor = new CDocumentColor( AutoColor.r, AutoColor.g, AutoColor.b );
else
{
if(CurTextPr.Unifill)
if(bPresentation && PDSL.Hyperlink)
{
AscFormat.G_O_HLINK_COLOR.check(Theme, ColorMap);
RGBA = AscFormat.G_O_HLINK_COLOR.getRGBAColor();
CurColor = new CDocumentColor( RGBA.R, RGBA.G, RGBA.B, RGBA.A );
}
else if(CurTextPr.Unifill)
{
CurTextPr.Unifill.check(Theme, 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