Skip to content

Commit

Permalink
fix: documentation TextureAtlas location
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoMeijer committed Sep 8, 2024
1 parent 1cd149b commit 7a5b82c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_ui/src/ui_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1838,9 +1838,9 @@ pub struct UiImage {
/// Whether the image should be flipped along its y-axis
pub flip_y: bool,
/// An optional rectangle representing the region of the image to render, instead of rendering
/// the full image. This is an easy one-off alternative to using a [`TextureAtlas`](crate::TextureAtlas).
/// the full image. This is an easy one-off alternative to using a [`TextureAtlas`](bevy_sprite::TextureAtlas).
///
/// When used with a [`TextureAtlas`](crate::TextureAtlas), the rect
/// When used with a [`TextureAtlas`](bevy_sprite::TextureAtlas), the rect
/// is offset by the atlas's minimal (top-left) corner position.
pub rect: Option<Rect>,
}
Expand Down

0 comments on commit 7a5b82c

Please sign in to comment.