Commit 5aa6d13a authored by Ilya.Kirillov's avatar Ilya.Kirillov

Исправлен баг с рассчетом расстояния между строк (баг 19817).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49823 954022d7-b5bf-4e40-9824-e11837661b57
parent 1b551cb9
......@@ -8933,7 +8933,7 @@ Paragraph.prototype =
Cur_Before = this.Internal_CalculateAutoSpacing( Cur_Before, Cur_BeforeAuto, this );
Prev_After = this.Internal_CalculateAutoSpacing( Prev_After, Prev_AfterAuto, this );
if ( true === Prev_Pr.ContextualSpacing )
if ( true === Prev_Pr.ContextualSpacing && PrevStyle === StyleId )
Prev_After = 0;
Pr.ParaPr.Spacing.Before = Math.max( Prev_After, Cur_Before ) - Prev_After;
......
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