This commit is contained in:
2ManyProjects 2026-01-09 19:01:23 -06:00
parent 5a1e9b1360
commit f0cc558b79

View file

@ -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'