Skip to content

Commit

Permalink
Fix format errors
Browse files Browse the repository at this point in the history
  • Loading branch information
test90 committed Oct 3, 2020
1 parent 8a460ce commit 7bdb9fe
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/bevy_sprite/src/texture_atlas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 7bdb9fe

Please sign in to comment.