浏览代码

fix comment (#3929)

Henry 2 月之前
父节点
当前提交
83ea89b88c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/desktop/src/event_handlers.rs

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

@@ -53,7 +53,7 @@ impl WindowEventHandlers {
         target: &EventLoopWindowTarget<UserWindowEvent>,
         target: &EventLoopWindowTarget<UserWindowEvent>,
     ) {
     ) {
         for (_, handler) in self.handlers.borrow_mut().iter_mut() {
         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 let Event::WindowEvent { window_id, .. } = event {
                 if *window_id != handler.window_id {
                 if *window_id != handler.window_id {
                     continue;
                     continue;