mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-05-02 05:51:28 +08:00
fix: fix font issue in WASM demo.
This commit is contained in:
Binary file not shown.
@@ -11,6 +11,6 @@ public static class AvaloniaAppBuilderExtensions
|
|||||||
builder.With(new FontManagerOptions
|
builder.With(new FontManagerOptions
|
||||||
{
|
{
|
||||||
DefaultFamilyName = DefaultFontFamily,
|
DefaultFamilyName = DefaultFontFamily,
|
||||||
FontFallbacks = new[] { new FontFallback { FontFamily = new FontFamily(DefaultFontFamily) } }
|
FontFallbacks = [new FontFallback { FontFamily = new FontFamily(DefaultFontFamily) }]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user