diff --git a/Cargo.toml b/Cargo.toml index 67f1c27..ea8da08 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,4 +50,4 @@ png = "0.17" winit = "0.29" tao = "0.24" image = "0.24" -eframe = "0.23" +eframe = "0.24" diff --git a/examples/egui.rs b/examples/egui.rs index 7151498..4f6f646 100644 --- a/examples/egui.rs +++ b/examples/egui.rs @@ -32,14 +32,9 @@ fn main() -> Result<(), eframe::Error> { #[cfg(not(target_os = "linux"))] let tray_c = _tray_icon.clone(); - let options = eframe::NativeOptions { - initial_window_size: Some(egui::vec2(320.0, 240.0)), - ..Default::default() - }; - eframe::run_native( "My egui App", - options, + eframe::NativeOptions::default(), Box::new(move |_cc| { #[cfg(not(target_os = "linux"))] {