ux: use JetBrains Mono font for change status icon (#384)

This commit is contained in:
leo 2024-08-21 11:50:17 +08:00
parent 19924930bc
commit 6485a6f93a
No known key found for this signature in database

View file

@ -91,8 +91,7 @@ namespace SourceGit.Views
if (Change == null || Bounds.Width <= 0) if (Change == null || Bounds.Width <= 0)
return; return;
var fontFamily = this.FindResource("Fonts.Monospace") as FontFamily; var typeface = new Typeface("fonts:SourceGit#JetBrains Mono");
var typeface = new Typeface(fontFamily);
IBrush background; IBrush background;
string indicator; string indicator;