From 7bdb9fe3e0a89a96e27877b9e5bacf016b492ecc Mon Sep 17 00:00:00 2001 From: M Date: Fri, 11 Sep 2020 17:23:29 -0400 Subject: [PATCH] Fix format errors --- crates/bevy_sprite/src/texture_atlas.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/bevy_sprite/src/texture_atlas.rs b/crates/bevy_sprite/src/texture_atlas.rs index 6bdb6ffc4e72e..0de3f9e08f239 100644 --- a/crates/bevy_sprite/src/texture_atlas.rs +++ b/crates/bevy_sprite/src/texture_atlas.rs @@ -97,10 +97,7 @@ impl TextureAtlas { } sprites.push(Rect { - min: Vec2::new( - tile_size.x() + x_padding, - tile_size.y() + y_padding, - ), + min: Vec2::new(tile_size.x() + x_padding, tile_size.y() + y_padding), max: Vec2::new( (x + 1) as f32 * tile_size.x(), (y + 1) as f32 * tile_size.y(),