Skip to content

Commit 2dd8467

Browse files
committed
Explain why we aren't unwrapping for bevy_text.
1 parent 3082ddb commit 2dd8467

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/bevy_text/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ impl Plugin for TextPlugin {
133133
)
134134
.add_systems(Last, trim_cosmic_cache);
135135

136+
// We aren't unwrapping the render app since users may be using bevy_text with their own
137+
// rendering.
136138
if let Some(render_app) = app.get_sub_app_mut(RenderApp) {
137139
render_app.add_systems(
138140
ExtractSchedule,

0 commit comments

Comments
 (0)