add panic button (useful)
This commit is contained in:
@@ -34,6 +34,9 @@ impl App {
|
|||||||
if ui.add(egui::Button::new("force refresh theme")).clicked() {
|
if ui.add(egui::Button::new("force refresh theme")).clicked() {
|
||||||
catppuccin_egui::set_theme(ui.ctx(), self.settings.theme.into());
|
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.collapsing("anti afk", |ui| {
|
||||||
ui.label(format!(
|
ui.label(format!(
|
||||||
|
|||||||
Reference in New Issue
Block a user