Skip to content

Commit

Permalink
Merge pull request #26 from icanwalkonwater/update_egui
Browse files Browse the repository at this point in the history
Updated egui to 0.28.
  • Loading branch information
urholaukkarinen authored Jul 14, 2024
2 parents 6f1d785 + 5b519f3 commit e85c698
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "egui-toast"
description = "Toast notifications for the egui library"
version = "0.13.0"
version = "0.14.0"
authors = ["Urho Laukkarinen <[email protected]>"]
edition = "2021"

Expand All @@ -16,4 +16,4 @@ keywords = ["egui", "toast", "notification"]
members = ["demo"]

[dependencies]
egui = { version = "0.27", default-features = false }
egui = { version = "0.28", default-features = false }
2 changes: 1 addition & 1 deletion demo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.8.0"
edition = "2021"

[dependencies]
eframe = "0.27"
eframe = "0.28"
egui-toast = { path = ".." }

[target.'cfg(target_arch = "wasm32")'.dependencies]
Expand Down
4 changes: 2 additions & 2 deletions demo/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fn main() -> eframe::Result<()> {
eframe::run_native(
"egui-toast demo",
eframe::NativeOptions::default(),
Box::new(|_cc| Box::<Demo>::default()),
Box::new(|_cc| Ok(Box::<Demo>::default())),
)
}

Expand Down Expand Up @@ -138,7 +138,7 @@ impl Demo {
egui::DragValue::new(duration_sec)
.fixed_decimals(1)
.speed(0.1)
.clamp_range(0..=100)
.range(0..=100)
.suffix("s")
.ui(ui);
ui.label("Duration");
Expand Down

0 comments on commit e85c698

Please sign in to comment.