From 5d788fe9c187310677663975a6304bbcbdebaea4 Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Mon, 6 Feb 2023 12:44:58 +1100 Subject: [PATCH] move windows --- src/main.rs | 3 ++- src/processor/gpu.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 6701eed..37514c9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -256,7 +256,7 @@ fn main() { panic!("{}", e); }); - window.set_position(50, 50); + window.set_position(500, 50); window.topmost(true); @@ -355,6 +355,7 @@ fn pause() { } fn pause_once() { + println!("paused..."); io::stdin().read_line(&mut String::new()).unwrap(); } diff --git a/src/processor/gpu.rs b/src/processor/gpu.rs index cd68fea..ba81f03 100644 --- a/src/processor/gpu.rs +++ b/src/processor/gpu.rs @@ -117,7 +117,7 @@ impl Default for GPU { panic!("{}", e); }); - window.set_position((100 + (WIDTH * FACTOR)) as isize, 50); + window.set_position((550 + (WIDTH * FACTOR)) as isize, 50); window.topmost(true); Self {