Browse Source
Merge pull request #1678 from Karnah/fixes-line-measure
Removed duplicated code
pull/1673/merge
Steven Kirk
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
src/Skia/Avalonia.Skia/FormattedTextImpl.cs
|
|
|
@ -584,7 +584,6 @@ namespace Avalonia.Skia |
|
|
|
AvaloniaFormattedTextLine line = new AvaloniaFormattedTextLine(); |
|
|
|
line.Start = curOff; |
|
|
|
line.TextLength = measured; |
|
|
|
line.Start = curOff; |
|
|
|
subString = Text.Substring(line.Start, line.TextLength); |
|
|
|
lineWidth = _paint.MeasureText(subString); |
|
|
|
line.Length = measured - trailingnumber; |
|
|
|
|