diff --git a/game/src/edit/roads.rs b/game/src/edit/roads.rs index 14cbe7fd36..634f417b12 100644 --- a/game/src/edit/roads.rs +++ b/game/src/edit/roads.rs @@ -343,14 +343,13 @@ impl State for RoadEditor { }); } "lane cards" => { - // hovering inex changed + // hovering index changed panels_need_recalc = true; } _ => unreachable!(), }, Outcome::DragDropReleased(_, old_idx, new_idx) => { if old_idx != new_idx { - // TODO Not using modify_current_lane... should we try to? let mut edits = app.primary.map.get_edits().clone(); edits .commands diff --git a/widgetry/src/widgets/mod.rs b/widgetry/src/widgets/mod.rs index 28151cf581..66b79d0720 100644 --- a/widgetry/src/widgets/mod.rs +++ b/widgetry/src/widgets/mod.rs @@ -77,7 +77,7 @@ pub enum Outcome { /// A dropdown, checkbox, spinner, etc changed values. The name of the changed widget is /// returned, but not the value, since its type is generic. Changed(String), - /// On a DragDrop widget, a member was clicked on and released. It's position may have changed. + /// On a DragDrop widget, a member was clicked on and released. Its position may have changed. /// (name, orig_idx, new_idx) DragDropReleased(String, usize, usize), /// Nothing happened