Przeglądaj źródła

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

MintSoup 3 miesięcy temu
rodzic
commit
dc0f0dbd2c
1 zmienionych plików z 1 dodań i 1 usunięć
  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)