Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
K0R0L committed Aug 30, 2023
1 parent b1e0ba6 commit 3ab972b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions word/Editor/Run.js
Original file line number Diff line number Diff line change
Expand Up @@ -12180,9 +12180,9 @@ ParaRun.prototype.Math_UpdateLineMetrics = function(PRS, ParaPr)
var LineRule = ParaPr.Spacing.LineRule;

let textMetrics = this.getTextMetrics();
let ascent = textMetics.Ascent + textMetrics.LineGap;
let ascent2 = textMetics.Ascent;
let descent = textMetics.Descent;
let ascent = textMetrics.Ascent + textMetrics.LineGap;
let ascent2 = textMetrics.Ascent;
let descent = textMetrics.Descent;

// Пересчитаем метрику строки относительно размера данного текста
if ( PRS.LineTextAscent < ascent )
Expand Down

0 comments on commit 3ab972b

Please sign in to comment.