Explorar o código

Fix later-attached wry event handlers not getting called (#3908)

MintSoup hai 3 meses
pai
achega
dc0f0dbd2c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/desktop/src/event_handlers.rs

+ 1 - 1
packages/desktop/src/event_handlers.rs

@@ -56,7 +56,7 @@ impl WindowEventHandlers {
             // if this event does not apply to the window this listener cares about, return
             if let Event::WindowEvent { window_id, .. } = event {
                 if *window_id != handler.window_id {
-                    return;
+                    continue;
                 }
             }
             (handler.handler)(event, target)