bevy/tools/example-showcase/fixed-window-position.patch
Eero Lehtinen d3ffb2a5c0
Fix window position patch (#14745)
# Objective

- CI broke after #14284 because of the `cursor_options` rename

## Solution

- Update the broken patch

## Testing

- Patch tested with `git apply`.
2024-08-15 13:55:15 +00:00

13 lines
636 B
Diff

diff --git a/crates/bevy_window/src/window.rs b/crates/bevy_window/src/window.rs
index f578658cd..ffac22062 100644
--- a/crates/bevy_window/src/window.rs
+++ b/crates/bevy_window/src/window.rs
@@ -318,7 +318,7 @@ impl Default for Window {
cursor_options: 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(),