Skip to content

Commit

Permalink
refactor: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
manankarnik committed Mar 9, 2024
1 parent 23edbaf commit 5e1c04d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
7 changes: 4 additions & 3 deletions utils/map/src/main.rs
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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()
Expand All @@ -48,7 +50,6 @@ fn main() {
canvas: Some("#bevy-canvas".into()),
resizable: true,
fit_canvas_to_parent: true,
mode: WindowMode::BorderlessFullscreen,
..default()
}),
..default()
Expand Down
4 changes: 3 additions & 1 deletion utils/planet/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![windows_subsystem = "windows"]

use bevy::{
core_pipeline::clear_color::ClearColorConfig,
prelude::*,
Expand Down Expand Up @@ -53,7 +55,7 @@ fn main() {
{
DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window {
transparent: true,
title: "Planet".to_string(),
resizable: true,
..default()
}),
Expand Down
3 changes: 3 additions & 0 deletions utils/terrain/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![windows_subsystem = "windows"]

use bevy::{
core_pipeline::clear_color::ClearColorConfig,
pbr::wireframe::WireframePlugin,
Expand Down Expand Up @@ -54,6 +56,7 @@ fn main() {
{
DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window {
title: "Terrain".to_string(),
resizable: true,
..default()
}),
Expand Down

0 comments on commit 5e1c04d

Please sign in to comment.