diff --git a/utils/map/src/main.rs b/utils/map/src/main.rs index dd49871..e4865d0 100644 --- a/utils/map/src/main.rs +++ b/utils/map/src/main.rs @@ -1,4 +1,6 @@ -use bevy::{core_pipeline::clear_color::ClearColorConfig, prelude::*, window::WindowMode}; +#![windows_subsystem = "windows"] + +use bevy::{core_pipeline::clear_color::ClearColorConfig, prelude::*}; use bevy_egui::{ egui::{self, epaint::Shadow, RichText, TextEdit, Visuals}, EguiContexts, EguiPlugin, @@ -33,9 +35,9 @@ fn main() { { DefaultPlugins.set(WindowPlugin { primary_window: Some(Window { + title: "Map".to_string(), resizable: true, fit_canvas_to_parent: true, - mode: WindowMode::BorderlessFullscreen, ..default() }), ..default() @@ -48,7 +50,6 @@ fn main() { canvas: Some("#bevy-canvas".into()), resizable: true, fit_canvas_to_parent: true, - mode: WindowMode::BorderlessFullscreen, ..default() }), ..default() diff --git a/utils/planet/src/main.rs b/utils/planet/src/main.rs index acf5b0f..7ddc770 100644 --- a/utils/planet/src/main.rs +++ b/utils/planet/src/main.rs @@ -1,3 +1,5 @@ +#![windows_subsystem = "windows"] + use bevy::{ core_pipeline::clear_color::ClearColorConfig, prelude::*, @@ -53,7 +55,7 @@ fn main() { { DefaultPlugins.set(WindowPlugin { primary_window: Some(Window { - transparent: true, + title: "Planet".to_string(), resizable: true, ..default() }), diff --git a/utils/terrain/src/main.rs b/utils/terrain/src/main.rs index e08faab..b73492d 100644 --- a/utils/terrain/src/main.rs +++ b/utils/terrain/src/main.rs @@ -1,3 +1,5 @@ +#![windows_subsystem = "windows"] + use bevy::{ core_pipeline::clear_color::ClearColorConfig, pbr::wireframe::WireframePlugin, @@ -54,6 +56,7 @@ fn main() { { DefaultPlugins.set(WindowPlugin { primary_window: Some(Window { + title: "Terrain".to_string(), resizable: true, ..default() }),