Skip to content

Commit 3e0835d

Browse files
committed
use embedded font
1 parent 9ea3293 commit 3e0835d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/inspector.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6370,8 +6370,7 @@ pub(super) fn plugin(app: &mut App) {
63706370
embedded_asset!(app, "assets/light_rays.wgsl");
63716371
app.add_plugins(Material2dPlugin::<LightRaysMaterial>::default())
63726372
.add_plugins(Text3dPlugin {
6373-
load_system_fonts: true,
6374-
asynchronous_load: true,
6373+
load_font_embedded: vec![DEFAULT_FONT_DATA],
63756374
..default()
63766375
})
63776376
.add_systems(

0 commit comments

Comments
 (0)