Skip to content

Commit

Permalink
Merge pull request #7 from mockersf/update-patch-winit-0.30
Browse files Browse the repository at this point in the history
update patch
  • Loading branch information
pietrosophya authored Jun 3, 2024
2 parents e4b499d + 08b68f7 commit d31ce1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/example-showcase/extra-window-resized-events.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/crates/bevy_winit/src/state.rs b/crates/bevy_winit/src/state.rs
index c256f5492..ae065111b 100644
index df0aab42d..6e28a6e9c 100644
--- a/crates/bevy_winit/src/state.rs
+++ b/crates/bevy_winit/src/state.rs
@@ -198,6 +198,12 @@ impl<T: Event> ApplicationHandler<T> for WinitAppRunnerState<T> {
@@ -208,6 +208,12 @@ impl<T: Event> ApplicationHandler<T> for WinitAppRunnerState<T> {
}
}

Expand All @@ -14,4 +14,4 @@ index c256f5492..ae065111b 100644
+
match event {
WindowEvent::Resized(size) => {
react_to_resize(&mut win, size, &mut window_resized, window);
react_to_resize(window, &mut win, size, &mut window_resized);

0 comments on commit d31ce1b

Please sign in to comment.