diff --git a/src/stitching_scanner.py b/src/stitching_scanner.py index 01705d4..212f63f 100644 --- a/src/stitching_scanner.py +++ b/src/stitching_scanner.py @@ -204,7 +204,7 @@ class StitchingScanner: x_offset = 0 # Clamp x_offset to valid range - x_offset = max(0, min(x_offset, w_base - blend_w)) + x_offset = 0 - min(x_offset, w_base - blend_w) self.log(f"=== _blend_horizontal_at_y (append_left) ===") self.log(f" base: {w_base}x{h_base}, strip: {w_strip}x{h_strip}") @@ -641,7 +641,7 @@ class StitchingScanner: total_x += dx with self._state_lock: self.state.current_x += dx - self.log(f"Current X offset ({self.state.current_x}px)") + self.log(f"Current X offset ({self.state.current_x}px)") with self._state_lock: self.state.cumulative_x = self._displacement_since_append_x