Implement event capturing for Checkbox

This commit is contained in:
Héctor Ramón Jiménez 2020-11-12 00:20:09 +01:00
parent a44cd07212
commit 04468a7147

View File

@ -172,6 +172,8 @@ where
if mouse_over {
messages.push((self.on_toggle)(!self.is_checked));
return event::Status::Captured;
}
}
_ => {}