diff --git a/src/input_context/context_instance.rs b/src/input_context/context_instance.rs index f2a45f8..8ed40c0 100644 --- a/src/input_context/context_instance.rs +++ b/src/input_context/context_instance.rs @@ -271,7 +271,7 @@ impl ActionBind { /// # use bevy_enhanced_input::prelude::*; /// # let mut ctx = ContextInstance::default(); /// ctx.bind::() - /// .with(InputBind::new(KeyCode::Space).with_condition(Down::default())); + /// .with(InputBind::new(KeyCode::Space).with_condition(Release::default())); /// # #[derive(Debug, InputAction)] /// # #[input_action(dim = Bool)] /// # struct Jump;