Checkpoint
This commit is contained in:
parent
7b610f8dd8
commit
f763ed9a7e
7 changed files with 309 additions and 22 deletions
|
@ -923,7 +923,7 @@ extern "C" fn send_event(this: &mut Object, _sel: Sel, native_event: id) {
|
|||
if let Some(event) = Event::from_native(native_event, None) {
|
||||
let platform = get_foreground_platform(this);
|
||||
if let Some(callback) = platform.0.lock().event.as_mut() {
|
||||
if callback(event) {
|
||||
if !callback(event) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue