From 43afc6765d1fecf8223f0b263e90915bc03f4581 Mon Sep 17 00:00:00 2001 From: Rob Parrett Date: Wed, 19 Jun 2024 12:08:16 -0700 Subject: [PATCH] Fix `ui_scaling` example failing to compile --- examples/ui/ui_scaling.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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,