Skip to content

Commit

Permalink
fixup! Remove support for non-clone tween events
Browse files Browse the repository at this point in the history
Restore TweenEventData field privacy
  • Loading branch information
patrickariel committed Dec 2, 2024
1 parent 8d19019 commit e3432af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tween_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl PluginGroup for DefaultTweenEventPlugins {
/// Fires [`TweenEvent`] whenever [`TimeSpanProgress`] and [`TweenEventData`] exist in the same entity.
#[derive(Default, Debug, Clone, PartialEq, Eq, Hash, Component, Reflect)]
#[reflect(Component)]
pub struct TweenEventData<Data = ()>(Data)
pub struct TweenEventData<Data = ()>(pub Data)
where
Data: Send + Sync + 'static;

Expand Down

0 comments on commit e3432af

Please sign in to comment.