From 746b36dfc06f60eb5151e3179f0c5e0ede3dae6a Mon Sep 17 00:00:00 2001 From: futile Date: Fri, 12 Dec 2025 05:08:56 +0000 Subject: [PATCH] add panic button (useful) --- src/gui/debug.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/debug.rs b/src/gui/debug.rs index 0dd8f72..d3acf0b 100644 --- a/src/gui/debug.rs +++ b/src/gui/debug.rs @@ -34,6 +34,9 @@ impl App { if ui.add(egui::Button::new("force refresh theme")).clicked() { catppuccin_egui::set_theme(ui.ctx(), self.settings.theme.into()); } + if ui.button("panic button").clicked() { + panic!("this is the panic button"); + } }); ui.collapsing("anti afk", |ui| { ui.label(format!(