Dummy second window

This commit is contained in:
2025-02-15 18:29:35 -05:00
parent 6c9265cb78
commit 75779f2b24
6 changed files with 50 additions and 5 deletions
+6
View File
@@ -138,6 +138,12 @@ impl GameWindow {
.unwrap();
ui.close_menu();
}
if ui.button("Background Maps").clicked() {
self.proxy
.send_event(UserEvent::OpenBgMap(self.sim_id))
.unwrap();
ui.close_menu();
}
});
ui.menu_button("About", |ui| {
self.proxy.send_event(UserEvent::OpenAbout).unwrap();