Skip to content

Commit 6063657

Browse files
added back scroll for auto-height
1 parent 1190c4e commit 6063657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/api/utils/imager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def scan_vrt(self, driver: object=None) -> list:
267267
break
268268

269269
# scroll single frame if not first frame and not auto_height
270-
if index != 0 and not self.scan.configs.get('auto_height', True):
270+
if index != 0:
271271
driver.execute_script("window.scrollBy(0, document.documentElement.clientHeight);")
272272
time.sleep(int(self.scan.configs.get('min_wait_time', 10)))
273273

0 commit comments

Comments
 (0)