mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-24 13:45:00 +00:00
fix: endless loop when character missing both in current active font and the default font and the fallback font is same with the default.
This commit is contained in:
parent
8f3f011d81
commit
98a46f8211
6 changed files with 15 additions and 18 deletions
|
@ -72,8 +72,6 @@ namespace SourceGit.Views
|
|||
InstalledFonts = new AvaloniaList<FontFamily>();
|
||||
InstalledFonts.Add(new FontFamily("fonts:SourceGit#JetBrains Mono"));
|
||||
InstalledFonts.AddRange(FontManager.Current.SystemFonts);
|
||||
InstalledFonts.Remove(FontManager.Current.DefaultFontFamily);
|
||||
InstalledFonts.Add(FontManager.Current.DefaultFontFamily);
|
||||
|
||||
InstalledMonospaceFonts = new AvaloniaList<FontFamily>();
|
||||
InstalledMonospaceFonts.Add(new FontFamily("fonts:SourceGit#JetBrains Mono"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue