Commit 68df1db3 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с пересчетом ParaRun (баг 22727).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55184 954022d7-b5bf-4e40-9824-e11837661b57
parent bdd8c801
...@@ -1208,7 +1208,7 @@ ParaRun.prototype = ...@@ -1208,7 +1208,7 @@ ParaRun.prototype =
var ContentLen = this.Content.length; var ContentLen = this.Content.length;
for ( ; Pos < ContentLen; Pos++ ) for ( ; Pos < ContentLen; Pos++ )
{ {
if ( false === StartWord && true === FirstItemOnLine && Math.abs( XEnd - X ) < 0.001 && RangesCount > 0 ) if ( false === StartWord && true === FirstItemOnLine && XEnd - X < 0.001 && RangesCount > 0 )
{ {
NewRange = true; NewRange = true;
RangeEndPos = Pos; RangeEndPos = Pos;
......
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