DEVELOPMENT ENVIRONMENT

~liljamo/deck-builder

e13eb3587b8edf0baffb0e21bee8a110435d14c4 — skye 1 year, 7 months ago 18acb7d
feat(client): always open headers in game details
1 files changed, 6 insertions(+), 4 deletions(-)

M client/src/plugins/game/ui/mod.rs
M client/src/plugins/game/ui/mod.rs => client/src/plugins/game/ui/mod.rs +6 -4
@@ 34,9 34,11 @@ pub fn ui(

            ui.separator();

            ui.collapsing("Details", |ui| {
                ui.label(format!("Host: {}", game.host.as_ref().unwrap().username));
                ui.label(format!("Guest: {}", game.guest.as_ref().unwrap().username));
            });
            egui::CollapsingHeader::new("Details")
                .default_open(true)
                .show(ui, |ui| {
                    ui.label(format!("Host: {}", game.host.as_ref().unwrap().username));
                    ui.label(format!("Guest: {}", game.guest.as_ref().unwrap().username));
                });
        });
}