Make TextureAtlas::texture_handles pub instead of pub(crate) (#8633) (#8643)

# Objective

- Fixes bevyengine#8633

## Solution

Make `TextureAtlas::texture_handles` `pub` instead of `pub(crate)`.
This commit is contained in:
Alex Tennant 2023-05-22 00:20:36 +01:00 committed by GitHub
parent f76b3c4230
commit fdec72b860
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)]