From 4e7606fdc699f264e164affa947ccc7740e724a5 Mon Sep 17 00:00:00 2001 From: arabian Date: Wed, 28 Jan 2026 00:28:34 +0300 Subject: [PATCH] feat: remove escape key functionality from input handling --- src/gui/input.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/gui/input.rs b/src/gui/input.rs index 947187d..1bfe8b4 100644 --- a/src/gui/input.rs +++ b/src/gui/input.rs @@ -1,5 +1,5 @@ use crate::gui::SoundpadGui; -use egui::{Context, Id, Key, Modifiers}; +use egui::{Context, Key, Modifiers}; use std::path::PathBuf; @@ -15,11 +15,6 @@ impl SoundpadGui { pub fn handle_input(&mut self, ctx: &Context) { let modifiers = self.modifiers(ctx); - // Close app on espace - if self.key_pressed(ctx, Key::Escape) { - std::process::exit(0); - } - // Open/close settings if self.key_pressed(ctx, Key::I) { self.app_state.show_settings = !self.app_state.show_settings;