~starkingdoms/starkingdoms

5f30061ff12368fb964263dcb142b5a9dee964d8 — ghostly_zsh 8 months ago 67f623b
position display
1 files changed, 1 insertions(+), 1 deletions(-)

M crates/client/src/rendering/mod.rs
M crates/client/src/rendering/mod.rs => crates/client/src/rendering/mod.rs +1 -1
@@ 384,7 384,7 @@ impl ApplicationHandler for App {

                    ui.add(Label::new("Fuel:"));
                    ui.add(ProgressBar::new((self.amount as f32)/(self.max as f32)).corner_radius(0));
                    ui.add(Label::new(format!("Pos: {}, {}", player.translation.x as u32, player.translation.y as u32)));
                    ui.add(Label::new(format!("Pos: {}, {}", player.translation.x as i32, player.translation.y as i32)));
                });
            },
        );