diff --git a/packages/desktop/src/event_handlers.rs b/packages/desktop/src/event_handlers.rs index b4d4d858d..428995e10 100644 --- a/packages/desktop/src/event_handlers.rs +++ b/packages/desktop/src/event_handlers.rs @@ -53,7 +53,7 @@ impl WindowEventHandlers { target: &EventLoopWindowTarget, ) { for (_, handler) in self.handlers.borrow_mut().iter_mut() { - // if this event does not apply to the window this listener cares about, return + // if this event does not apply to the window this listener cares about, continue if let Event::WindowEvent { window_id, .. } = event { if *window_id != handler.window_id { continue;