From 2bc9d381e15ca62484be4329d8980f78fedacd7b Mon Sep 17 00:00:00 2001 From: Arnaud_Cayrol Date: Sun, 15 Feb 2026 19:30:55 +0100 Subject: [PATCH] cargo fmt --- src/pipeline/steps/crop_and_resize.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pipeline/steps/crop_and_resize.rs b/src/pipeline/steps/crop_and_resize.rs index d09abe5..4a7a7b9 100644 --- a/src/pipeline/steps/crop_and_resize.rs +++ b/src/pipeline/steps/crop_and_resize.rs @@ -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]));