ux: use bold font for error keywords in command log

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo
2025-07-29 11:49:35 +08:00
parent 5ce919ab66
commit a2f478a0d9

View File

@@ -50,7 +50,9 @@ namespace SourceGit.Views
{
ChangeLinePart(line.Offset + idx, line.Offset + err.Length + 1, v =>
{
var old = v.TextRunProperties.Typeface;
v.TextRunProperties.SetForegroundBrush(Brushes.Red);
v.TextRunProperties.SetTypeface(new Typeface(old.FontFamily, old.Style, FontWeight.Bold));
});
}
}