diff options
| author | Valentin Popov <valentin@popov.link> | 2026-12-02 14:48:26 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-12-02 14:48:26 +0300 |
| commit | e631882baadc7a9cb05a56f21ef8de78aa7627aa (patch) | |
| tree | 9528e070fa08521cb03fc19c61211f9b4929f002 /apps/fparkan-game/src/strategic_view.rs | |
| parent | e565346f002a685b5527f7d52792bad3eb8933a2 (diff) | |
| download | fparkan-e631882baadc7a9cb05a56f21ef8de78aa7627aa.tar.xz fparkan-e631882baadc7a9cb05a56f21ef8de78aa7627aa.zip | |
feat(ui): show live strategic toolbar button states
Diffstat (limited to 'apps/fparkan-game/src/strategic_view.rs')
| -rw-r--r-- | apps/fparkan-game/src/strategic_view.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/fparkan-game/src/strategic_view.rs b/apps/fparkan-game/src/strategic_view.rs index 8787aeff..18716a1b 100644 --- a/apps/fparkan-game/src/strategic_view.rs +++ b/apps/fparkan-game/src/strategic_view.rs @@ -26,7 +26,7 @@ use winit::{ pub(super) struct ActiveCommandView { camera: CommandCamera, pointer: Option<[f32; 2]>, - warbots_open: bool, + pub(super) warbots_open: bool, pub(super) selected_warbot: Option<ObjectHandle>, order_input: Option<OrderInput>, } @@ -67,7 +67,6 @@ impl ActiveCommandView { } } - #[cfg(windows)] pub(super) fn pointer(&self) -> Option<[f32; 2]> { self.pointer } |
