woops, bus length was wrong

This commit is contained in:
Dustin Carlino 2018-08-29 13:40:07 -07:00
parent 90a503559a
commit b7379fcdf8
2 changed files with 2 additions and 1 deletions

View File

@ -373,6 +373,7 @@ impl UI {
if let Some(c) = self.current_selection_state.color_c(id, &self.cs) {
return c;
}
// TODO if it's a bus, color it differently -- but how? :\
match self.sim_ctrl.sim.get_car_state(id) {
CarState::Debug => ezgui::shift_color(self.cs.get(Colors::DebugCar), id.0),
CarState::Moving => ezgui::shift_color(self.cs.get(Colors::MovingCar), id.0),

View File

@ -20,7 +20,7 @@ const MAX_CAR_LENGTH: Distance = si::Meter {
};
// Note this is more than MAX_CAR_LENGTH
const BUS_LENGTH: Distance = si::Meter {
value_unsafe: 6.5,
value_unsafe: 12.5,
_marker: std::marker::PhantomData,
};