Browse Source

Revert "possible fix for #4806 for text formatting with wrap"

This reverts commit 37c2d0afb9.
pull/4807/head
Andrey Kunchev 6 years ago
parent
commit
4a0f517ecc
  1. 4
      src/Avalonia.Visuals/Media/TextFormatting/TextFormatterImpl.cs

4
src/Avalonia.Visuals/Media/TextFormatting/TextFormatterImpl.cs

@ -391,10 +391,6 @@ namespace Avalonia.Media.TextFormatting
measuredLength = currentBreakPosition + lineBreaker.Current.PositionWrap;
}
}
else if (measuredLength == 0 && currentLength == 0)
{
measuredLength = 1;
}
}
currentLength += measuredLength;

Loading…
Cancel
Save