Fix EventTrigger::none

This commit is contained in:
Alexandre Bury 2018-11-09 11:27:46 -08:00
parent b60c69ca63
commit 99dc97a092

View File

@ -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.