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
2 additions and
2 deletions
-
src/Avalonia.Controls/TextBlock.cs
|
|
|
@ -120,6 +120,7 @@ namespace Avalonia.Controls |
|
|
|
.Subscribe(_ => |
|
|
|
{ |
|
|
|
InvalidateFormattedText(); |
|
|
|
InvalidateMeasure(); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
@ -370,8 +371,6 @@ namespace Avalonia.Controls |
|
|
|
_constraint = _formattedText.Constraint; |
|
|
|
_formattedText = null; |
|
|
|
} |
|
|
|
|
|
|
|
InvalidateMeasure(); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
@ -402,6 +401,7 @@ namespace Avalonia.Controls |
|
|
|
{ |
|
|
|
base.OnAttachedToLogicalTree(e); |
|
|
|
InvalidateFormattedText(); |
|
|
|
InvalidateMeasure(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |