Skip to content

Commit

Permalink
Make TextureAtlas::texture_handles pub instead of pub(crate) (#…
Browse files Browse the repository at this point in the history
…8633) (#8643)

# Objective

- Fixes #8633

## Solution

Make `TextureAtlas::texture_handles` `pub` instead of `pub(crate)`.
  • Loading branch information
adtennant authored May 21, 2023
1 parent f76b3c4 commit fdec72b
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 @@ -20,7 +20,7 @@ pub struct TextureAtlas {
/// The specific areas of the atlas where each texture can be found
pub textures: Vec<Rect>,
/// Mapping from texture handle to index
pub(crate) texture_handles: Option<HashMap<Handle<Image>, usize>>,
pub texture_handles: Option<HashMap<Handle<Image>, usize>>,
}

#[derive(Component, Debug, Clone, Reflect, FromReflect)]
Expand Down

0 comments on commit fdec72b

Please sign in to comment.