소스 검색

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

MintSoup 3 달 전
부모
커밋
dc0f0dbd2c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)