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

This commit is contained in:
MintSoup authored and GitHub committed 2025-03-26 21:50:43 -06:00
1 parent 6bdb69e235
commit dc0f0dbd2c
1 file changed
+1 -1
+1 -1
View File
@@ -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)