Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Alice Cecile <[email protected]>
  • Loading branch information
ManevilleF and alice-i-cecile authored Jun 27, 2022
1 parent ea622ce commit 850f6e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_sprite/src/sprite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ pub struct Sprite {
/// Component for sprite sheets containing a handle to [`TextureAtlas`] and the index of the current
/// section of the sheet.
///
/// A texture atlas contains various *sections* or *cuts* of a given texture, allowing to have a single
/// A texture atlas contains various *sections* or *cuts* of a given texture, allowing users to have a single
/// image file for sprite animation or various elements.
/// You can change the [`index`](Self::index) of the sheet to animate the sprite or to pick a *section* of the texture.
///
/// You may check the following examples for usage:
/// Check the following examples for usage:
/// - [`animated sprite sheet example`](https://github.com/bevyengine/bevy/blob/main/examples/2d/sprite_sheet.rs)
/// - [`texture atlas example`](https://github.com/bevyengine/bevy/blob/main/examples/2d/texture_atlas.rs)
#[derive(Component, Default, Debug, Clone, Reflect)]
Expand Down

0 comments on commit 850f6e2

Please sign in to comment.