Skip to content

Commit 6ed3c32

Browse files
authored
Missing UI glpyhs fix (#17729)
# Objective Fixes #17718 ## Solution Schedule `text_system` before `AssetEvents`. I guess what was happening here is that glyphs weren't shown because `text_system` was running before `AssetEevents` and so `prepare_uinodes` never recieves the the asset modified event about the glyph texture atlas image.
1 parent 3c8fae2 commit 6ed3c32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/bevy_ui/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ fn build_text_interop(app: &mut App) {
274274
widget::text_system
275275
.in_set(UiSystem::PostLayout)
276276
.after(bevy_text::remove_dropped_font_atlas_sets)
277+
.before(bevy_asset::AssetEvents)
277278
// Text2d and bevy_ui text are entirely on separate entities
278279
.ambiguous_with(bevy_text::detect_text_needs_rerender::<bevy_text::Text2d>)
279280
.ambiguous_with(bevy_text::update_text2d_layout)

0 commit comments

Comments
 (0)