generated from tipragot/rust
Fix fmt
This commit is contained in:
parent
9796b4f461
commit
4bce642f17
|
@ -15,7 +15,8 @@ impl Plugin for MenuPlugin {
|
||||||
.add_systems(Update, ui_host_button);
|
.add_systems(Update, ui_host_button);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// Display a connect window, with a button to join a game and an input to enter the address.
|
/// Display a connect window, with a button to join a game and an input to enter
|
||||||
|
/// the address.
|
||||||
fn ui_connect_button(mut ctx: EguiContexts, mut connection_string: Local<String>) {
|
fn ui_connect_button(mut ctx: EguiContexts, mut connection_string: Local<String>) {
|
||||||
egui::Window::new("Connect")
|
egui::Window::new("Connect")
|
||||||
.default_width(400.0)
|
.default_width(400.0)
|
||||||
|
|
Loading…
Reference in a new issue