diff --git a/Cargo.toml b/Cargo.toml index 24cddf9..610cb27 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ opt-level = 2 lto = false [dependencies] -eframe = { git = "https://github.com/Titaniumtown/egui.git", default-features = false } +eframe = { git = "https://github.com/emilk/egui.git", default-features = false } shadow-rs = { version = "0.11.0", default-features = false } const_format = { version = "0.2.22", default-features = false, features = [ "fmt", diff --git a/src/egui_app.rs b/src/egui_app.rs index a2b8cbe..8859d8a 100644 --- a/src/egui_app.rs +++ b/src/egui_app.rs @@ -525,7 +525,7 @@ impl MathApp { impl epi::App for MathApp { // Called each time the UI needs repainting, which may be many times per second. - fn update(&mut self, ctx: &Context, _frame: &Frame) { + fn update(&mut self, ctx: &Context, _frame: &mut Frame) { let start = instant::Instant::now(); // Set dark/light mode depending on the variable `self.settings.dark_mode`