From 3dd66529a2c0d4de606fe829d02a23380146ca1c Mon Sep 17 00:00:00 2001 From: yuming Date: Fri, 18 Sep 2026 21:55:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=A4=A7=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E8=B7=9D=E7=A6=BB406px=E2=86=921200px=EF=BC=8C=E9=81=BF?= =?UTF-8?q?=E5=85=8D=E8=AF=AF=E5=88=A4=E5=88=B0=E5=BA=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- automate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automate.py b/automate.py index 3ddc4d6..bd2c7cd 100644 --- a/automate.py +++ b/automate.py @@ -816,7 +816,7 @@ def tap_all_thumbnails(baseline, max_rounds=300, poll_interval=4, max_wait_per_r pre_rows = full_rows # 向下滚动 2 行(约 406 像素,保留 1 行重叠避免漏跳) - adb("shell", "input", "swipe", "540", "1820", "540", "1414", "400") + adb("shell", "input", "swipe", "540", "1900", "540", "700", "500") time.sleep(1.0) post_shot = screenshot("/tmp/_postscroll.png") @@ -832,7 +832,7 @@ def tap_all_thumbnails(baseline, max_rounds=300, poll_interval=4, max_wait_per_r # 手势(实测 26、27 号就因单次误判、提前结束、漏下几百个)。再滚一次确认: # 只有连续两次都没推进才判真到底。 time.sleep(2) - adb("shell", "input", "swipe", "540", "1820", "540", "1414", "400") + adb("shell", "input", "swipe", "540", "1900", "540", "700", "500") time.sleep(1.5) post2_rows = detect_card_rows(screenshot("/tmp/_postscroll2.png")) if _moved(pre_rows, post2_rows):