Skip to content

Commit

Permalink
Fix build fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
test90 committed Sep 11, 2020
1 parent 47b629d commit e33b2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_sprite/src/texture_atlas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl TextureAtlas {
}
}
TextureAtlas {
size: Vec2::new(tile_size.x() * columns, tile_size.y() * rows),
size: Vec2::new(tile_size.x() * columns as f32, tile_size.y() * rows as f32),
textures: sprites,
texture,
texture_handles: None,
Expand Down

0 comments on commit e33b2d3

Please sign in to comment.