mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
enhance: add inlines once time and mark text layout dirty (#400)
This commit is contained in:
parent
27a68f0d4d
commit
492f22fcfa
2 changed files with 3 additions and 0 deletions
|
@ -83,6 +83,7 @@ namespace SourceGit.Views
|
|||
if (matches.Count == 0)
|
||||
{
|
||||
Inlines.Add(new Run(message));
|
||||
InvalidateTextLayout();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -196,6 +196,7 @@ namespace SourceGit.Views
|
|||
if (rules == null || rules.Count == 0)
|
||||
{
|
||||
Inlines.Add(new Run(subject));
|
||||
InvalidateTextLayout();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -206,6 +207,7 @@ namespace SourceGit.Views
|
|||
if (matches.Count == 0)
|
||||
{
|
||||
Inlines.Add(new Run(subject));
|
||||
InvalidateTextLayout();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue