From 9d4c3efa6bf207be719d00f86b8265410bab016a Mon Sep 17 00:00:00 2001 From: koe Date: Fri, 4 Oct 2024 17:54:03 -0500 Subject: [PATCH] migration fix --- examples/games/contributors.rs | 2 +- examples/ui/text_debug.rs | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/examples/games/contributors.rs b/examples/games/contributors.rs index 2ac469e7fc5f3b..3b462df5698dfc 100644 --- a/examples/games/contributors.rs +++ b/examples/games/contributors.rs @@ -1,6 +1,6 @@ //! This example displays each contributor to the bevy source code as a bouncing bevy-ball. -use bevy::{math::bounding::Aabb2d, prelude::*, text::TextBuilderExt, utils::HashMap}; +use bevy::{math::bounding::Aabb2d, prelude::*, utils::HashMap}; use rand::{prelude::SliceRandom, Rng}; use std::{ env::VarError, diff --git a/examples/ui/text_debug.rs b/examples/ui/text_debug.rs index cb5d8a7672f3e7..2d2e6978f497f9 100644 --- a/examples/ui/text_debug.rs +++ b/examples/ui/text_debug.rs @@ -162,14 +162,6 @@ fn infotext_system(mut commands: Commands, asset_server: Res) { TextChanges )) .with_children(|p| { - p.spawn(( - TextSpan::new("\nThis text changes in the bottom right"), - TextStyle { - font: font.clone(), - font_size: 21.0, - ..default() - } - )); p.spawn(( TextSpan::new("\nThis text changes in the bottom right"), TextStyle {