mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07: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