Skip to content

Commit

Permalink
fix styling
Browse files Browse the repository at this point in the history
Signed-off-by: Reuben Thomas <reubenthomas123@gmail.com>
  • Loading branch information
reuben-thomas committed Jul 27, 2024
1 parent ecb9bb7 commit 5a8ef05
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions rmf_site_editor/src/widgets/inspector/inspect_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ impl<'w, 's> WidgetSystem<Inspect> for InspectTasks<'w, 's> {
} else {
let mut deleted_ids = Vec::new();
for (id, task) in tasks.0.iter_mut().enumerate() {
let is_deleted = edit_task_component(ui, &id, task, &params.locations, true);
let is_deleted =
edit_task_component(ui, &id, task, &params.locations, true);
if is_deleted {
deleted_ids.push(id);
}
Expand Down Expand Up @@ -151,7 +152,13 @@ impl<'w, 's> WidgetSystem<Inspect> for InspectTasks<'w, 's> {
});

ui.add_space(10.0);
edit_task_component(ui, &tasks.0.len(), &mut params.pending_task.0, &params.locations, false);
edit_task_component(
ui,
&tasks.0.len(),
&mut params.pending_task.0,
&params.locations,
false,
);
}
}

Expand Down
2 changes: 1 addition & 1 deletion rmf_site_format/src/mobile_robot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ impl Default for DifferentialDrive {
rotation_center_offset: [0.0, 0.0],
}
}
}
}

0 comments on commit 5a8ef05

Please sign in to comment.