diff --git a/crates/bevy_lunex/src/logic/states.rs b/crates/bevy_lunex/src/logic/states.rs index a1a4413..f525493 100644 --- a/crates/bevy_lunex/src/logic/states.rs +++ b/crates/bevy_lunex/src/logic/states.rs @@ -170,12 +170,12 @@ struct UiSoundChannel; #[cfg(feature = "kira")] #[derive(Component, Debug, Clone, PartialEq, Eq)] pub struct OnHoverPlaySound { - pub sound: Handle, + pub sound: Handle, } #[cfg(feature = "kira")] impl OnHoverPlaySound { /// Specify the entity you want to create events for. - pub fn new(sound: Handle) -> Self { + pub fn new(sound: Handle) -> Self { OnHoverPlaySound { sound, } @@ -252,4 +252,4 @@ impl Plugin for DefaultStatesPlugin { .add_systems(Update, hover_enter_system.run_if(on_event::>())) .add_systems(Update, hover_leave_system.run_if(on_event::>())); } -} \ No newline at end of file +}