diff --git a/src/stitching_scanner.py b/src/stitching_scanner.py index 8036b60..42171c2 100644 --- a/src/stitching_scanner.py +++ b/src/stitching_scanner.py @@ -417,7 +417,6 @@ class StitchingScanner: strip_end = min(w, append_width + BLEND_WIDTH) new_strip = frame[:, :strip_end] x_offset = int(self.state.mosaic_width - abs(self.state.current_x) - new_strip.shape[1]) - x_offset = max(0, x_offset) self.mosaic = self._blend_horizontal_at_y( self.mosaic, new_strip, BLEND_WIDTH, append_right=False, x_offset=x_offset, y_offset=y_offset)