From 19b127bb34a781281c479f26488f370e5167da5b Mon Sep 17 00:00:00 2001 From: TeamDman Date: Mon, 8 Jan 2024 22:31:34 -0500 Subject: [PATCH] fix build error --- crates/plugins/Cargo.toml | 1 + crates/plugins/src/lib.rs | 4 ++-- src/main.rs | 8 ++++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/crates/plugins/Cargo.toml b/crates/plugins/Cargo.toml index 9ebffd4d..653ee61c 100644 --- a/crates/plugins/Cargo.toml +++ b/crates/plugins/Cargo.toml @@ -26,6 +26,7 @@ cursor_hero_tools = {workspace = true} cursor_hero_ui = {workspace = true} cursor_hero_icon = {workspace = true} cursor_hero_winutils = {workspace = true} +cursor_hero_restart_memory = {workspace = true} bevy = {workspace = true} [dev-dependencies] diff --git a/crates/plugins/src/lib.rs b/crates/plugins/src/lib.rs index e18b0ad8..594817da 100644 --- a/crates/plugins/src/lib.rs +++ b/crates/plugins/src/lib.rs @@ -13,14 +13,14 @@ use cursor_hero_icon::IconPlugin; use cursor_hero_physics::damping_plugin::DampingPlugin; use cursor_hero_pointer::pointer_plugin::PointerPlugin; use cursor_hero_pressure_plate::pressure_plate_plugin::PressurePlatePlugin; -#[cfg(debug_assertions)] -use cursor_hero_restart_memory::primary_window_memory_plugin::PrimaryWindowMemoryPlugin; use cursor_hero_screen::screen_plugin::ScreenPlugin; use cursor_hero_screen::screen_update_plugin::ScreenUpdatePlugin; use cursor_hero_toolbelt::ToolbeltPlugin; use cursor_hero_tools::ToolsPlugin; use cursor_hero_ui::fps_text_plugin::FpsTextPlugin; use cursor_hero_ui::position_text_plugin::PositionTextPlugin; +#[cfg(debug_assertions)] +use cursor_hero_restart_memory::primary_window_memory_plugin::PrimaryWindowMemoryPlugin; pub struct MyPlugin; diff --git a/src/main.rs b/src/main.rs index d5393405..baaaec85 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,14 +46,18 @@ fn main() { title: "Cursor Hero".into(), resolution: ( // %BEGIN_RESOLUTION% - 818.0, 758.0, // %END_RESOLUTION% + 834.0, + 797.0 + // %END_RESOLUTION% ) .into(), resizable: true, position: WindowPosition::At( ( // %BEGIN_POSITION% - 903, 105, // %END_POSITION% + 903, + 105 + // %END_POSITION% ) .into(), ),