fixed edge scan
This commit is contained in:
parent
128df0cd01
commit
125bfeea11
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue