cargo fmt
This commit is contained in:
parent
9bb2d4d828
commit
2bc9d381e1
1 changed files with 2 additions and 1 deletions
|
|
@ -191,7 +191,8 @@ impl ProcessingStep for CropAndResizeStep {
|
|||
}
|
||||
|
||||
// Draw threshold marker on the bar
|
||||
let threshold_x = bar_x + 2 + ((bar_width - 4) as f32 * (max_pct / max_scale).clamp(0.0, 1.0)) as u32;
|
||||
let threshold_x =
|
||||
bar_x + 2 + ((bar_width - 4) as f32 * (max_pct / max_scale).clamp(0.0, 1.0)) as u32;
|
||||
if threshold_x < bar_x + bar_width {
|
||||
for y in outline_y..(outline_y + outline_height) {
|
||||
debug_img.put_pixel(threshold_x, y, Rgb([255, 255, 255]));
|
||||
|
|
|
|||
Loading…
Reference in a new issue