diff --git a/examples/ui/ui_scaling.rs b/examples/ui/ui_scaling.rs index 986c12735e151..e3adea12a05d3 100644 --- a/examples/ui/ui_scaling.rs +++ b/examples/ui/ui_scaling.rs @@ -1,16 +1,12 @@ //! This example illustrates the [`UiScale`] resource from `bevy_ui`. -use bevy::{color::palettes::css::*, prelude::*, text::TextSettings, utils::Duration}; +use bevy::{color::palettes::css::*, prelude::*, utils::Duration}; const SCALE_TIME: u64 = 400; fn main() { App::new() .add_plugins(DefaultPlugins) - .insert_resource(TextSettings { - allow_dynamic_font_size: true, - ..default() - }) .insert_resource(TargetScale { start_scale: 1.0, target_scale: 1.0,