summaryrefslogtreecommitdiffstats
path: root/src/window.rs
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2026-05-07 10:12:11 -0400
committerJon Santmyer <jon@jonsantmyer.com>2026-05-07 10:12:11 -0400
commitc9041e2e6fe59d6127bb1085b874e8e3cda8000e (patch)
treec339cf86b88743b1c74707f6d714b1a0950c43ff /src/window.rs
parentc1adf64c1aaecd5a2b9d532d707ef35971f1aa18 (diff)
downloadsystemic4x-c9041e2e6fe59d6127bb1085b874e8e3cda8000e.tar.gz
systemic4x-c9041e2e6fe59d6127bb1085b874e8e3cda8000e.tar.bz2
systemic4x-c9041e2e6fe59d6127bb1085b874e8e3cda8000e.zip
more intense position-relative rendering to fix some precision problems
Diffstat (limited to 'src/window.rs')
-rw-r--r--src/window.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/window.rs b/src/window.rs
index 3461a53..d895040 100644
--- a/src/window.rs
+++ b/src/window.rs
@@ -40,14 +40,11 @@ impl GameWindow
let tacmap = TacticalMap::new(&wgpuctx);
let ui_state = ui::State{
+ camera_target: Some(0),
topbar_sate: ui::topbar::TopBarState {
current_system : Some(0),
..Default::default()
},
- camera_info: ui::camera_info::CameraWindowState {
- target: Some(0),
- ..Default::default()
- },
..Default::default()
};