From f0cc558b793292a7bc98fb01f4f50f3bc18ba8c6 Mon Sep 17 00:00:00 2001 From: 2ManyProjects Date: Fri, 9 Jan 2026 19:01:23 -0600 Subject: [PATCH] scan dir --- src/stitching_scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stitching_scanner.py b/src/stitching_scanner.py index d27d85f..7af2434 100644 --- a/src/stitching_scanner.py +++ b/src/stitching_scanner.py @@ -525,7 +525,7 @@ class StitchingScanner: # stop_reason = 'min_dim' # break - if self.state.current_x <= 0 and direction == ScanDirection.LEFT: + if self.state.current_x >= 0 and direction == ScanDirection.LEFT: self.log(f"Max dimension reached ({self.config.max_mosaic_width}px)") self.log(f"Current X offset ({self.state.current_x}px) total_x ({total_x}px)") stop_reason = 'max_dim'