disable my window position

This commit is contained in:
2026-02-25 19:06:45 +01:00
parent 9e6232d2a7
commit d1d2ae825d

View File

@@ -62,7 +62,7 @@ fn setup(mut commands: Commands, mut window: Query<&mut Window>) {
window.title = "Kneeboard".to_string(); window.title = "Kneeboard".to_string();
window.resolution = WindowResolution::new(550, 720); window.resolution = WindowResolution::new(550, 720);
window.position = WindowPosition::new(IVec2::new(2560 + 1280, 600)); // window.position = WindowPosition::new(IVec2::new(2560 + 1280, 600));
window.present_mode = PresentMode::AutoNoVsync; window.present_mode = PresentMode::AutoNoVsync;
window.fit_canvas_to_parent = false; window.fit_canvas_to_parent = false;
window.prevent_default_event_handling = false; window.prevent_default_event_handling = false;