Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamDman committed Jan 9, 2024
1 parent c38f67e commit 19b127b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions crates/plugins/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions crates/plugins/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
8 changes: 6 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
),
Expand Down

0 comments on commit 19b127b

Please sign in to comment.