Display (Player 1) or (Player 2) consistently
This commit is contained in:
@@ -207,13 +207,13 @@ impl ObjectWindow {
|
||||
}
|
||||
|
||||
impl AppWindow for ObjectWindow {
|
||||
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!("Object Data ({})", self.sim_id))
|
||||
.with_title("Object Data")
|
||||
.with_inner_size((640.0, 500.0))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user