Skip to content

Commit

Permalink
🚦 Allow egui 0.27 (#220)
Browse files Browse the repository at this point in the history
* Allow egui version 0.27

* Remove redundant duplicate strong call
  • Loading branch information
tosti007 authored Apr 17, 2024
1 parent 5309914 commit 68ffb9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ presser = { version = "0.3" }
# such as the ability to link/load a Vulkan library.
ash = { version = ">=0.34, <=0.37", optional = true, default-features = false, features = ["debug"] }
# Only needed for visualizer.
egui = { version = ">=0.24, <=0.26", optional = true, default-features = false }
egui_extras = { version = ">=0.24, <=0.26", optional = true, default-features = false }
egui = { version = ">=0.24, <=0.27", optional = true, default-features = false }
egui_extras = { version = ">=0.24, <=0.27", optional = true, default-features = false }

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
metal = { version = "0.27.0", default-features = false, features = ["link", "dispatch",] }
Expand Down
2 changes: 1 addition & 1 deletion src/visualizer/allocation_reports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub(crate) fn render_allocation_reports_ui(

fn header_button(ui: &mut Ui, label: &str) -> Response {
let label = WidgetText::from(label).strong();
let label = Label::new(label.strong()).sense(Sense::click());
let label = Label::new(label).sense(Sense::click());
ui.add(label)
}

Expand Down

0 comments on commit 68ffb9d

Please sign in to comment.