mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -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)
|
if (matches.Count == 0)
|
||||||
{
|
{
|
||||||
Inlines.Add(new Run(message));
|
Inlines.Add(new Run(message));
|
||||||
|
InvalidateTextLayout();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -196,6 +196,7 @@ namespace SourceGit.Views
|
||||||
if (rules == null || rules.Count == 0)
|
if (rules == null || rules.Count == 0)
|
||||||
{
|
{
|
||||||
Inlines.Add(new Run(subject));
|
Inlines.Add(new Run(subject));
|
||||||
|
InvalidateTextLayout();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -206,6 +207,7 @@ namespace SourceGit.Views
|
||||||
if (matches.Count == 0)
|
if (matches.Count == 0)
|
||||||
{
|
{
|
||||||
Inlines.Add(new Run(subject));
|
Inlines.Add(new Run(subject));
|
||||||
|
InvalidateTextLayout();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue