fix comment (#3929)
This commit is contained in:
1 parent
44025340c7
commit
83ea89b88c
1 file changed
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user