mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Fix example showcase (#10366)
# Objective - One of the patch for CI was not applied anymore - a temp file has been committed, remove it and gitignore it
This commit is contained in:
parent
64faadb932
commit
624801b942
3 changed files with 7 additions and 5 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -16,3 +16,5 @@ assets/scenes/load_scene_example-new.scn.ron
|
|||
assets/**/*.meta
|
||||
crates/bevy_asset/imported_assets
|
||||
imported_assets
|
||||
|
||||
example_showcase_config.ron
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
(exit_after: Some(250))
|
|
@ -1,16 +1,17 @@
|
|||
diff --git a/crates/bevy_winit/src/lib.rs b/crates/bevy_winit/src/lib.rs
|
||||
index 46b3e3e19..81ffad2b5 100644
|
||||
index 91c9858c7..9f93f05d0 100644
|
||||
--- a/crates/bevy_winit/src/lib.rs
|
||||
+++ b/crates/bevy_winit/src/lib.rs
|
||||
@@ -432,6 +432,11 @@ pub fn winit_runner(mut app: App) {
|
||||
};
|
||||
@@ -510,6 +510,12 @@ pub fn winit_runner(mut app: App) {
|
||||
|
||||
runner_state.window_event_received = true;
|
||||
|
||||
+ event_writers.window_resized.send(WindowResized {
|
||||
+ window: window_entity,
|
||||
+ width: window.width(),
|
||||
+ height: window.height(),
|
||||
+ });
|
||||
|
||||
+
|
||||
match event {
|
||||
WindowEvent::Resized(size) => {
|
||||
window
|
||||
|
|
Loading…
Reference in a new issue