This commit is contained in:
Lncvrt committed 2026-03-21 22:48:48 -07:00
1 parent 0aa3b33af9
commit 5d009ac42c
3 files changed
+4 -5989

No files matched your search

+2 -1
View File
@@ -1,2 +1,3 @@
/target /target/
/Cargo.lock
.DS_Store .DS_Store
Generated
-5973
View File
File diff suppressed because it is too large. Load diff
+2 -15
View File
@@ -6,20 +6,8 @@ struct Player {
} }
fn main() { fn main() {
let mut transparent = true; App::new()
let mut app = App::new(); .add_plugins(DefaultPlugins.set(WindowPlugin {
#[cfg(target_os = "macos")]
{
transparent = false;
app.insert_resource(ClearColor(Color::srgb(
58.0 / 255.0,
58.0 / 255.0,
58.0 / 255.0,
)));
}
app.add_plugins(DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window { primary_window: Some(Window {
title: "Berry Dash RS".into(), title: "Berry Dash RS".into(),
resize_constraints: WindowResizeConstraints { resize_constraints: WindowResizeConstraints {
@@ -27,7 +15,6 @@ fn main() {
min_height: 600.0, min_height: 600.0,
..default() ..default()
}, },
transparent,
..default() ..default()
}), }),
..default() ..default()