Skip to content

Commit

Permalink
Fix missing cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
Multirious committed Mar 27, 2024
1 parent ef5db5b commit 80ae9cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/interpolate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ impl Interpolator for AngleZ {
}
}

#[cfg(feature = "bevy_sprite")]
type ReflectInterpolatorSprite = ReflectInterpolator<Sprite>;

/// [`Interpolator`] for [`Sprite`]'s color
Expand All @@ -364,6 +365,7 @@ impl Interpolator for SpriteColor {
}
}

#[cfg(feature = "bevy_sprite")]
type ReflectInterpolatorColorMaterial =
ReflectInterpolator<bevy::sprite::ColorMaterial>;

Expand Down

0 comments on commit 80ae9cd

Please sign in to comment.