mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Fix EventTrigger::none
This commit is contained in:
parent
b60c69ca63
commit
99dc97a092
@ -74,7 +74,7 @@ impl EventTrigger {
|
||||
|
||||
/// Returns an `EventTrigger` that doesn't accept any event.
|
||||
pub fn none() -> Self {
|
||||
Self::from_fn(|_| true)
|
||||
Self::from_fn(|_| false)
|
||||
}
|
||||
|
||||
/// Returns an `EventTrigger` that applies if either `self` or `other` applies.
|
||||
|
Loading…
Reference in New Issue
Block a user