Display (Player 1) or (Player 2) consistently

This commit is contained in:
2026-07-16 23:56:20 -04:00
parent b283b69f74
commit d934c843eb
12 changed files with 68 additions and 33 deletions
+3 -3
View File
@@ -527,13 +527,13 @@ impl WorldWindow {
}
impl AppWindow for WorldWindow {
fn sim_id(&self) -> SimId {
self.sim_id
fn sim_id(&self) -> Option<SimId> {
Some(self.sim_id)
}
fn initial_viewport(&self) -> ViewportBuilder {
ViewportBuilder::default()
.with_title(format!("Worlds ({})", self.sim_id))
.with_title("Worlds")
.with_inner_size((640.0, 520.0))
}