generated from tipragot/rust
Add the main menu #31
|
@ -41,7 +41,7 @@ fn ui_connect_button(mut address: ResMut<Address>, mut egui_ctx: EguiContexts) {
|
|||
.show(egui_ctx.ctx_mut(), |ui| {
|
||||
// Create the text
|
||||
ui.heading("Please enter the password of the game: ");
|
||||
|
||||
|
||||
ui.horizontal(|ui| {
|
||||
ui.label("Address: ");
|
||||
|
||||
|
@ -70,7 +70,6 @@ fn ui_host_button(mut egui_ctx: EguiContexts, mut address: ResMut<Address>) {
|
|||
egui::Window::new("Host")
|
||||
.default_width(400.0)
|
||||
.show(egui_ctx.ctx_mut(), |ui| {
|
||||
|
||||
// Create the text
|
||||
let button = ui.button("Create new game");
|
||||
|
||||
|
|
Loading…
Reference in a new issue