mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
Improved AnimationPlugin declaration. (#8361)
# Objective Fixes #8347. ## Solution Implemented the suggested change to the `AnimationPlugin` declaration.
This commit is contained in:
parent
55e9ab7c92
commit
14abff99f6
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@ fn update_transitions(player: &mut AnimationPlayer, time: &Time) {
|
|||
|
||||
/// Adds animation support to an app
|
||||
#[derive(Default)]
|
||||
pub struct AnimationPlugin {}
|
||||
pub struct AnimationPlugin;
|
||||
|
||||
impl Plugin for AnimationPlugin {
|
||||
fn build(&self, app: &mut App) {
|
||||
|
|
Loading…
Reference in a new issue