Skip to content

Commit

Permalink
Removed trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ickshonpe committed Oct 11, 2024
1 parent 791986d commit 385ced5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/ui/text_debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ fn infotext_system(mut commands: Commands, asset_server: Res<AssetServer>) {
"This text is very long, has a limited width, is center-justified, is positioned in the top right and is also colored pink."),
TextFont {
font: font.clone(),
font_size: 33.0,
font_size: 33.0,
..default()
},
TextColor(Color::srgb(0.8, 0.2, 0.7)),
Expand Down Expand Up @@ -184,7 +184,7 @@ fn infotext_system(mut commands: Commands, asset_server: Res<AssetServer>) {
TextSpan::new(" this text has zero fontsize"),
TextFont {
font: font.clone(),
font_size: 0.0,
font_size: 0.0,
..default()
},
TextColor(BLUE.into()),
Expand All @@ -202,7 +202,7 @@ fn infotext_system(mut commands: Commands, asset_server: Res<AssetServer>) {
TextSpan::default(),
TextFont {
font: font.clone(),
font_size: 21.0,
font_size: 21.0,
..default()
},
TextColor(ORANGE_RED.into()),
Expand Down

0 comments on commit 385ced5

Please sign in to comment.