summaryrefslogtreecommitdiffstats
path: root/src/ui/camera_info.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/camera_info.rs')
-rw-r--r--src/ui/camera_info.rs12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/ui/camera_info.rs b/src/ui/camera_info.rs
index 35cd54b..ccd06c5 100644
--- a/src/ui/camera_info.rs
+++ b/src/ui/camera_info.rs
@@ -28,7 +28,9 @@ impl CameraWindowState
let current_system = &game_state.solar_systems()[ui_state.current_system.unwrap()];
- egui::Window::new("Camera Info").show(eguictx.context(), |ui| {
+ egui::Window::new("Debug Camera Info")
+ .title_bar(false)
+ .show(eguictx.context(), |ui| {
ui.vertical(|ui| {
let selected_body_label = match camera_state.target {
Some(id) => current_system.bodies()[id].name(),
@@ -50,14 +52,6 @@ impl CameraWindowState
});
ui.label(format!("Scale: {}", camera_state.camera_scale));
- match camera_state.camera_pos {
- Some(pos) => { ui.label(format!("Pos x:{:^10} y:{:^10} z:{:^10}",
- pos.x,
- pos.y,
- pos.z
- )); },
- None => {}
- }
match camera_state.camera_rot {
Some(rot) => {
ui.label(format!("pitch:{:^10} yaw:{:^10}",