Procházet zdrojové kódy

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

MintSoup před 3 měsíci
rodič
revize
dc0f0dbd2c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)