Add text fixes

This commit is contained in:
darktohka
2026-03-17 03:10:47 +02:00
parent adc456b8f6
commit 202e2c160f
16 changed files with 143 additions and 140 deletions
@@ -41,7 +41,10 @@ fn main() {
let mut renderer = Renderer::new(phys_w, phys_h);
let mut form = InstallForm::new(scale);
while window.is_open() && !window.is_key_down(Key::Escape) {
while window.is_open() && !window.is_key_down(Key::Escape)
&& !(window.is_key_down(Key::F4)
&& (window.is_key_down(Key::LeftAlt) || window.is_key_down(Key::RightAlt)))
{
let (mx, my) = window
.get_mouse_pos(MouseMode::Clamp)
.unwrap_or((0.0, 0.0));