# Objective - Fixes bevyengine#8633 ## Solution Make `TextureAtlas::texture_handles` `pub` instead of `pub(crate)`.
This commit is contained in:
parent
f76b3c4230
commit
fdec72b860
@ -20,7 +20,7 @@ pub struct TextureAtlas {
|
|||||||
/// The specific areas of the atlas where each texture can be found
|
/// The specific areas of the atlas where each texture can be found
|
||||||
pub textures: Vec<Rect>,
|
pub textures: Vec<Rect>,
|
||||||
/// Mapping from texture handle to index
|
/// 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)]
|
#[derive(Component, Debug, Clone, Reflect, FromReflect)]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user