diff --git a/src/egui_app.rs b/src/egui_app.rs index 205bd95..b62df77 100644 --- a/src/egui_app.rs +++ b/src/egui_app.rs @@ -3,6 +3,7 @@ use crate::misc::{debug_log, log_helper, parse_value}; use crate::parsing::{process_func_str, test_func}; use const_format::formatc; +use eframe::egui::Key; use eframe::{egui, epi}; use egui::plot::Plot; use egui::{ @@ -512,6 +513,10 @@ impl epi::App for MathApp { false => Visuals::light(), }); + self.settings + .show_side_panel + .bitxor_assign(ctx.input().key_down(Key::H)); + ctx.set_fonts(FONT_DEFINITIONS.clone()); // Initialize fonts // Creates Top bar that contains some general options