fixed scan
This commit is contained in:
parent
4785a99a63
commit
3dca7fd79a
1 changed files with 4 additions and 4 deletions
|
|
@ -516,10 +516,10 @@ class StitchingScanner:
|
|||
stop_reason = 'timeout'
|
||||
break
|
||||
|
||||
if current_dim() >= max_dim:
|
||||
self.log(f"Max dimension reached ({current_dim()}px)")
|
||||
stop_reason = 'max_dim'
|
||||
break
|
||||
# if current_dim() >= max_dim:
|
||||
# self.log(f"Max dimension reached ({current_dim()}px)")
|
||||
# stop_reason = 'max_dim'
|
||||
# break
|
||||
# if current_dim() <= 0 and direction == ScanDirection.LEFT:
|
||||
# self.log(f"Max dimension reached ({current_dim()}px)")
|
||||
# stop_reason = 'min_dim'
|
||||
|
|
|
|||
Loading…
Reference in a new issue