Skip to content

Commit

Permalink
Update egui and glam
Browse files Browse the repository at this point in the history
Update egui to 0.27.2
  • Loading branch information
Azkellas committed Apr 2, 2024
1 parent 302d1f0 commit 4998b5b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ exclude = ["/docs"]
members = ["demo"]

[dependencies]
egui = "0.26.2"
glam = { version = "0.25.0", features = ["mint"] }
egui = "0.27.2"
glam = { version = "0.27.0", features = ["mint"] }
mint = "0.5"

[profile.release]
Expand Down
10 changes: 7 additions & 3 deletions demo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,20 @@ license = "MIT"

[dependencies]
bevy = "0.13"
bevy_egui = "0.25.0"
egui = "0.26.2"
egui = "0.27.2"
egui-gizmo = { path = ".." }

[dependencies.bevy_infinite_grid]
git = "https://github.com/XYCaptain/bevy_infinite_grid.git"
rev = "1e5259a52a7dfaca65402c2c57c1d81c2bc443e9"

[dependencies.bevy_egui]
git = "https://github.com/mvlabat/bevy_egui.git"
rev = "51fa9176cb636c27b792004af410955f946e808e"


[dependencies.bevy_math]
version = "0.12.1"
version = "0.13.1"
features = ["mint"]

[lints]
Expand Down
2 changes: 1 addition & 1 deletion demo/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ fn update(
egui::Hyperlink::from_label_and_url("(source code)", SOURCE_URL).ui(ui);
});

egui::Area::new("Viewport")
egui::Area::new("Viewport".into())
.fixed_pos((0.0, 0.0))
.show(contexts.ctx_mut(), |ui| {
ui.with_layer_id(LayerId::background(), |ui| {
Expand Down

0 comments on commit 4998b5b

Please sign in to comment.