diff --git a/Cargo.toml b/Cargo.toml index 2e63e0f..db234b5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui-notify" -version = "0.14.0" +version = "0.15.0" edition = "2021" license = "MIT" repository = "https://github.com/ItsEthra/egui-notify" @@ -12,10 +12,10 @@ readme = "README.md" path = "src/lib.rs" [dependencies] -egui = { version = "0.27.0", default-features = false } +egui = { version = "0.28.0", default-features = false } [dev-dependencies] -eframe = { version = "0.27.0", default-features = false, features = [ +eframe = { version = "0.28.0", default-features = false, features = [ "default_fonts", "glow", ] } diff --git a/examples/all.rs b/examples/all.rs index a56eaeb..96cca8b 100644 --- a/examples/all.rs +++ b/examples/all.rs @@ -142,7 +142,7 @@ fn main() -> eframe::Result<()> { } cc.egui_ctx.set_fonts(font_def); - Box::new(ExampleApp { + Ok(Box::new(ExampleApp { caption: r#"Hello! It's a multiline caption Next line Another one @@ -157,7 +157,7 @@ And another one"# font_size: 16., custom_level_string: "$".into(), custom_level_color: egui::Color32::GREEN, - }) + })) }), ) }