mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 22:20:20 +00:00
# Objective - Fixes bevyengine#8633 ## Solution Make `TextureAtlas::texture_handles` `pub` instead of `pub(crate)`.
This commit is contained in:
parent
f76b3c4230
commit
fdec72b860
1 changed files with 1 additions and 1 deletions
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue