Skip to content

Commit

Permalink
📎
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Jan 8, 2022
1 parent dd63d36 commit 90556d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_text/src/font_atlas_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ impl FontAtlasSet {
.size
.height
.max(glyph_texture.texture_descriptor.size.width);
let containing = (1u32 << 32 - glyph_max_size.leading_zeros()).max(512) as f32;
let containing = (1u32 << (32 - glyph_max_size.leading_zeros())).max(512) as f32;
font_atlases.push(FontAtlas::new(
textures,
texture_atlases,
Expand Down

0 comments on commit 90556d8

Please sign in to comment.