diff --git a/Cargo.toml b/Cargo.toml index 09cb663..e6cc654 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,4 +16,4 @@ keywords = ["egui", "toast", "notification"] members = ["demo"] [dependencies] -egui = { version = "0.26.1", default-features = false } +egui = { version = "0.27", default-features = false } diff --git a/demo/Cargo.toml b/demo/Cargo.toml index ad578ea..72e86ee 100644 --- a/demo/Cargo.toml +++ b/demo/Cargo.toml @@ -4,7 +4,7 @@ version = "0.8.0" edition = "2021" [dependencies] -eframe = "0.26.1" +eframe = "0.27" egui-toast = { path = ".." } [target.'cfg(target_arch = "wasm32")'.dependencies] diff --git a/demo/src/main.rs b/demo/src/main.rs index 62b8a49..22f2680 100644 --- a/demo/src/main.rs +++ b/demo/src/main.rs @@ -1,7 +1,7 @@ use std::time::Duration; use eframe::egui; -use egui::style::Margin; +use eframe::epaint::Margin; use egui::{Align2, Color32, Direction, Frame, Pos2, RichText, Widget}; use egui_toast::{Toast, ToastKind, ToastOptions, Toasts};