fixed edge scan

This commit is contained in:
2ManyProjects 2026-01-08 01:49:14 -06:00
parent 128df0cd01
commit 125bfeea11

View file

@ -502,9 +502,9 @@ class StitchingScanner:
max_no_movement = 50
stop_reason = 'stopped'
if direction == ScanDirection.RIGHT:
self.state.current_x = self.state.mosaic_width - w # At right edge
elif direction == ScanDirection.LEFT:
self.state.current_x = 0
elif direction == ScanDirection.LEFT:
self.state.current_x = self.state.mosaic_width - w # At right edge
self.log(f"Current X offset ({self.state.current_x}px)")
while self.running and not self.paused: