diff --git a/examples/egui-winit/Cargo.toml b/examples/egui-winit/Cargo.toml index 5f316eb..a6a1519 100644 --- a/examples/egui-winit/Cargo.toml +++ b/examples/egui-winit/Cargo.toml @@ -10,15 +10,11 @@ optimize = ["log/release_max_level_warn"] default = ["optimize"] [dependencies] -egui = "0.12" -egui_wgpu_backend = "0.9" +egui = "0.13" +egui_wgpu_backend = "0.10" +egui_winit_platform = { version = "0.9", features = ["webbrowser"] } env_logger = "0.8" log = "0.4" pixels = { path = "../.." } winit = "0.25" winit_input_helper = "0.10" - -[dependencies.egui_winit_platform] -git = "https://github.com/hasenbanck/egui_winit_platform.git" -rev = "ab576591949a2c0ac1494af52713a1771ff8326a" -features = ["webbrowser"] diff --git a/examples/egui-winit/src/gui.rs b/examples/egui-winit/src/gui.rs index e66f3b4..7a53637 100644 --- a/examples/egui-winit/src/gui.rs +++ b/examples/egui-winit/src/gui.rs @@ -80,7 +80,7 @@ impl Gui { /// Create the UI using egui. fn ui(&mut self, ctx: &egui::CtxRef) { - egui::TopPanel::top("menubar_container").show(ctx, |ui| { + egui::TopBottomPanel::top("menubar_container").show(ctx, |ui| { egui::menu::bar(ui, |ui| { egui::menu::menu(ui, "File", |ui| { if ui.button("About...").clicked() {