Skip to content

Commit

Permalink
fix: fix font issue in WASM demo.
Browse files Browse the repository at this point in the history
  • Loading branch information
zdpcdt committed Nov 15, 2024
1 parent 5f199d7 commit b31b622
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ public static AppBuilder WithSourceHanSansCNFont(this AppBuilder builder) =>
builder.With(new FontManagerOptions
{
DefaultFamilyName = DefaultFontFamily,
FontFallbacks = new[] { new FontFallback { FontFamily = new FontFamily(DefaultFontFamily) } }
FontFallbacks = [new FontFallback { FontFamily = new FontFamily(DefaultFontFamily) }]
});
}

0 comments on commit b31b622

Please sign in to comment.