mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +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
|
@ -4,6 +4,7 @@ using System.Runtime.Versioning;
|
|||
|
||||
using Avalonia;
|
||||
using Avalonia.Dialogs;
|
||||
using Avalonia.Media;
|
||||
|
||||
namespace SourceGit.Native
|
||||
{
|
||||
|
@ -12,9 +13,11 @@ namespace SourceGit.Native
|
|||
{
|
||||
public void SetupApp(AppBuilder builder)
|
||||
{
|
||||
#if USE_FONT_INTER
|
||||
builder.WithInterFont();
|
||||
#endif
|
||||
builder.With(new FontManagerOptions()
|
||||
{
|
||||
DefaultFamilyName = "fonts:SourceGit#JetBrains Mono",
|
||||
});
|
||||
|
||||
// Free-desktop file picker has an extra black background panel.
|
||||
builder.UseManagedSystemDialogs();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue