Commit 9bb52539 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Сделано, чтобы подчеркивание орфографии всегда было в 1px (баг 21284).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50721 954022d7-b5bf-4e40-9824-e11837661b57
parent c851553b
......@@ -4985,10 +4985,11 @@ Paragraph.prototype =
// Рисуем подчеркивание орфографии
pGraphics.p_color( 255, 0, 0, 255 );
var SpellingW = editor.WordControl.m_oDrawingDocument.GetMMPerDot(1);
Element = aSpelling.Get_Next();
while ( null != Element )
{
pGraphics.DrawSpellingLine(Element.y0, Element.x0, Element.x1, Element.w);
pGraphics.DrawSpellingLine(Element.y0, Element.x0, Element.x1, SpellingW);
Element = aSpelling.Get_Next();
}
}
......
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