Update to egui 0.13 (#181)
This commit is contained in:
parent
c4df23f65d
commit
ce549a79b6
|
@ -10,15 +10,11 @@ optimize = ["log/release_max_level_warn"]
|
||||||
default = ["optimize"]
|
default = ["optimize"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
egui = "0.12"
|
egui = "0.13"
|
||||||
egui_wgpu_backend = "0.9"
|
egui_wgpu_backend = "0.10"
|
||||||
|
egui_winit_platform = { version = "0.9", features = ["webbrowser"] }
|
||||||
env_logger = "0.8"
|
env_logger = "0.8"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
pixels = { path = "../.." }
|
pixels = { path = "../.." }
|
||||||
winit = "0.25"
|
winit = "0.25"
|
||||||
winit_input_helper = "0.10"
|
winit_input_helper = "0.10"
|
||||||
|
|
||||||
[dependencies.egui_winit_platform]
|
|
||||||
git = "https://github.com/hasenbanck/egui_winit_platform.git"
|
|
||||||
rev = "ab576591949a2c0ac1494af52713a1771ff8326a"
|
|
||||||
features = ["webbrowser"]
|
|
||||||
|
|
|
@ -80,7 +80,7 @@ impl Gui {
|
||||||
|
|
||||||
/// Create the UI using egui.
|
/// Create the UI using egui.
|
||||||
fn ui(&mut self, ctx: &egui::CtxRef) {
|
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::bar(ui, |ui| {
|
||||||
egui::menu::menu(ui, "File", |ui| {
|
egui::menu::menu(ui, "File", |ui| {
|
||||||
if ui.button("About...").clicked() {
|
if ui.button("About...").clicked() {
|
||||||
|
|
Loading…
Reference in a new issue