yea
This commit is contained in:
3 files changed
+4
-5989
No files matched your search
+2
-1
@@ -1,2 +1,3 @@
|
|||||||
/target
|
/target/
|
||||||
|
/Cargo.lock
|
||||||
.DS_Store
|
.DS_Store
|
||||||
Generated
-5973
File diff suppressed because it is too large.
Load diff
+2
-15
@@ -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()
|
||||||
|
|||||||
Reference in new issue
Block a user