Browse Source
Merge pull request #3646 from Gillibald/fixes/TextPresenterInvalidate
Call InvalidateVisual when FormattedText is invalidated
pull/3652/head
Steven Kirk
7 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
0 deletions
-
src/Avalonia.Controls/Presenters/TextPresenter.cs
|
|
|
@ -292,6 +292,8 @@ namespace Avalonia.Controls.Presenters |
|
|
|
_constraint = _formattedText.Constraint; |
|
|
|
_formattedText = null; |
|
|
|
} |
|
|
|
|
|
|
|
InvalidateVisual(); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|