diff --git a/crates/bevy_text/src/pipeline.rs b/crates/bevy_text/src/pipeline.rs index f16fbce0dc..dd13e5e0cb 100644 --- a/crates/bevy_text/src/pipeline.rs +++ b/crates/bevy_text/src/pipeline.rs @@ -170,8 +170,7 @@ impl TextPipeline { // Update the buffer. let buffer = &mut computed.buffer; - buffer.set_metrics(font_system, metrics); - buffer.set_size(font_system, bounds.width, bounds.height); + buffer.set_metrics_and_size(font_system, metrics, bounds.width, bounds.height); buffer.set_wrap( font_system,