mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
fix: empty monospace font with non-empty default font fallback issue
This commit is contained in:
parent
50d742e1eb
commit
ecc1414006
1 changed files with 3 additions and 0 deletions
|
@ -231,7 +231,10 @@ namespace SourceGit
|
|||
if (string.IsNullOrEmpty(monospaceFont))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(defaultFont))
|
||||
{
|
||||
monospaceFont = $"fonts:SourceGit#JetBrains Mono,{defaultFont}";
|
||||
resDic.Add("Fonts.Monospace", new FontFamily(monospaceFont));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue