refactor: remove stagnant code

Former-commit-id: c169106acf46b924d1b46c3684c25a1536eadec6
This commit is contained in:
Muhammad Nauman Raza 2023-12-04 21:08:40 +00:00
parent 93c1a58521
commit 7101a52cc6
Signed by: devraza
GPG key ID: 91EAD6081011574B

View file

@ -178,7 +178,6 @@ fn render_ui(
mut windows: Query<&mut Window>,
mut ui_state: ResMut<UiState>,
mut open_windows: ResMut<OpenWindows>,
keys: Res<Input<KeyCode>>,
) {
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)