From 77b5a13711855caff57050afcd5924d4292017e6 Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Mon, 4 Dec 2023 21:08:40 +0000 Subject: [PATCH] refactor: remove stagnant code Former-commit-id: c169106acf46b924d1b46c3684c25a1536eadec6 --- src/main.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 970b1ec..306402e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -178,7 +178,6 @@ fn render_ui( mut windows: Query<&mut Window>, mut ui_state: ResMut, mut open_windows: ResMut, - keys: Res>, ) { let window = windows.single_mut(); let window_width = window.resolution.width(); @@ -186,9 +185,6 @@ fn render_ui( let ctx = contexts.ctx_mut(); - if keys.just_pressed(KeyCode::Space) {} - if keys.pressed(KeyCode::W) {} - egui::Window::new("Login") .anchor(egui::Align2::CENTER_CENTER, egui::Vec2::new(0., 0.)) .resizable(false)