Skip to content

Commit

Permalink
Style
Browse files Browse the repository at this point in the history
Signed-off-by: Xiyu Oh <xiyu@openrobotics.org>
  • Loading branch information
xiyuoh committed Aug 16, 2024
1 parent be22ce1 commit 5f6faf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmf_site_editor/src/widgets/console.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ fn console_widget(In(input): In<PanelWidgetInput>, mut log_history: ResMut<LogHi
}
// Slider to adjust display limit
let history_size = log_history.log_history().len() as f64;
let nearest_hundred: usize = 100*(history_size/100.0).ceil() as usize;
let nearest_hundred: usize = 100 * (history_size / 100.0).ceil() as usize;
ui.add(egui::Slider::new(
log_history.display_limit_mut(),
10..=nearest_hundred,
Expand Down

0 comments on commit 5f6faf2

Please sign in to comment.