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
|
||||
Generated
-5973
File diff suppressed because it is too large.
Load diff
+2
-15
@@ -6,20 +6,8 @@ struct Player {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let mut transparent = true;
|
||||
let mut app = App::new();
|
||||
|
||||
#[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 {
|
||||
App::new()
|
||||
.add_plugins(DefaultPlugins.set(WindowPlugin {
|
||||
primary_window: Some(Window {
|
||||
title: "Berry Dash RS".into(),
|
||||
resize_constraints: WindowResizeConstraints {
|
||||
@@ -27,7 +15,6 @@ fn main() {
|
||||
min_height: 600.0,
|
||||
..default()
|
||||
},
|
||||
transparent,
|
||||
..default()
|
||||
}),
|
||||
..default()
|
||||
|
||||
Reference in new issue
Block a user