mirror of
https://github.com/bevyengine/bevy
synced 2024-11-14 00:47:32 +00:00
8b88887152
# Objective - Enable capturing screenshots of all examples in CI on a GitHub runner ## Solution - Shorten duration of a run - Disable `desktop_app` mode - as there isn't any input in CI, examples using this take way too long to run - Change the default `ClusterConfig` - the runner are not able to do all the clusters with the default settings - Send extra `WindowResized` events - this is needed only for the `split_screen` example, because CI doesn't trigger that event unlike all the other platforms --------- Co-authored-by: Rob Parrett <robparrett@gmail.com>
13 lines
628 B
Diff
13 lines
628 B
Diff
diff --git a/crates/bevy_window/src/window.rs b/crates/bevy_window/src/window.rs
|
|
index 10bdd8fe8..dda272569 100644
|
|
--- a/crates/bevy_window/src/window.rs
|
|
+++ b/crates/bevy_window/src/window.rs
|
|
@@ -232,7 +232,7 @@ impl Default for Window {
|
|
cursor: Default::default(),
|
|
present_mode: Default::default(),
|
|
mode: Default::default(),
|
|
- position: Default::default(),
|
|
+ position: WindowPosition::Centered(MonitorSelection::Primary),
|
|
resolution: Default::default(),
|
|
internal: Default::default(),
|
|
composite_alpha_mode: Default::default(),
|