Skip to content

Commit

Permalink
Fix text sprite pack's aspect ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrankel committed Dec 10, 2023
1 parent 38e36e0 commit 3407a8d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified assets/image/entity/text/PyriousPixel-B.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/simulation/sprite_pack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub struct SpritePackAssets {
pub none: Handle<TextureAtlas>,

// Text
#[asset(texture_atlas(tile_size_x = 8.0, tile_size_y = 12.0, rows = 1, columns = 94))]
#[asset(texture_atlas(tile_size_x = 12.0, tile_size_y = 12.0, rows = 1, columns = 94))]
#[asset(path = "image/entity/text/PyriousPixel-B.png")]
pub text: Handle<TextureAtlas>,

Expand Down

0 comments on commit 3407a8d

Please sign in to comment.