Commit 034c24d1 authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #34636

parent 5a8f5f6f
......@@ -1588,10 +1588,11 @@ ParaFootnoteReference.prototype.Draw = function(X, Y, Context, PDSE)
_X += this.Widths[nPos];
}
if (editor && editor.ShowParaMarks && Context.DrawFootnoteRect)
if (editor && editor.ShowParaMarks && Context.DrawFootnoteRect && this.Run)
{
var TextAscent = this.Run.TextAscent;
Context.p_color(0, 0, 0, 255);
Context.DrawFootnoteRect(X, PDSE.LineTop, this.Get_Width(), PDSE.BaseLine - PDSE.LineTop);
Context.DrawFootnoteRect(X, PDSE.BaseLine - TextAscent, this.Get_Width(), TextAscent);
}
};
ParaFootnoteReference.prototype.Measure = function(Context, TextPr, MathInfo, Run)
......
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