diff --git a/src/egui_app.rs b/src/egui_app.rs index b55927f..5e4eeea 100644 --- a/src/egui_app.rs +++ b/src/egui_app.rs @@ -1,5 +1,5 @@ use crate::function::{FunctionEntry, RiemannSum, EMPTY_FUNCTIONENTRY}; -use crate::misc::{digits_precision, log_helper}; +use crate::misc::{digits_precision, log_helper, debug_log}; use crate::parsing::{add_asterisks, test_func}; use const_format::formatc; @@ -92,6 +92,8 @@ lazy_static::lazy_static! { let path = file.header().path().unwrap(); let path_string = path.to_string_lossy(); + debug_log(&format!("Loading file: {}", path_string)); + // Match the filename if path_string.ends_with(".ttf") { // Parse font files