Skip to content

Commit

Permalink
Merge pull request #79 from burtonageo/update_egui
Browse files Browse the repository at this point in the history
Update egui version for main crate and egui example
  • Loading branch information
urholaukkarinen authored Oct 5, 2024
2 parents 5be0854 + e997263 commit 79dd894
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ transform-gizmo = { version = "0.3.0", path = "crates/transform-gizmo" }
transform-gizmo-egui = { version = "0.3.0", path = "crates/transform-gizmo-egui" }
transform-gizmo-bevy = { version = "0.3.0", path = "crates/transform-gizmo-bevy" }

egui = "0.28.0"
eframe = "0.28.0"
emath = "0.28.0"
epaint = "0.28.0"
ecolor = "0.28.0"
egui = "0.29.0"
eframe = "0.29.0"
emath = "0.29.0"
epaint = "0.29.0"
ecolor = "0.29.0"
glam = { version = "0.28.0", features = ["mint"] }
mint = "0.5"
enum_dispatch = "0.3.12"
Expand Down
4 changes: 2 additions & 2 deletions examples/egui/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ impl ExampleApp {
.num_columns(2)
.show(ui, |ui| {
ui.label("Modes");
egui::ComboBox::from_id_source("mode_cb")
egui::ComboBox::from_id_salt("mode_cb")
.selected_text(format!("{}", self.gizmo_modes.len()))
.show_ui(ui, |ui| {
for mode in GizmoMode::all() {
Expand All @@ -132,7 +132,7 @@ impl ExampleApp {
ui.end_row();

ui.label("Orientation");
egui::ComboBox::from_id_source("orientation_cb")
egui::ComboBox::from_id_salt("orientation_cb")
.selected_text(format!("{:?}", self.gizmo_orientation))
.show_ui(ui, |ui| {
for orientation in [GizmoOrientation::Global, GizmoOrientation::Local] {
Expand Down

0 comments on commit 79dd894

Please sign in to comment.