Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Liamolucko committed Nov 26, 2021
1 parent 7407c62 commit cfc2a5a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/platform_impl/web/event_loop/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,11 +360,11 @@ impl<T: 'static> Shared<T> {
// Don't send resize events for destroyed canvases.
resizes.retain(|&(id, ..)| {
!self
.0
.destroy_pending
.borrow()
.iter()
.any(|&(other_id, ..)| other_id == id)
.0
.destroy_pending
.borrow()
.iter()
.any(|&(other_id, ..)| other_id == id)
});

let scale = backend::scale_factor();
Expand Down

0 comments on commit cfc2a5a

Please sign in to comment.