1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 09:48:20 +08:00

Fix: [JP] Research not working properly in some cases.

Previous research detail page may not disappear immediately after pressing the DETAIL_NEXT button. Waiting until touch effect to fade should prevent this from breaking the script.
This commit is contained in:
noname94
2020-09-15 11:03:48 +09:00
parent d103191d21
commit 2da0d472e0

View File

@@ -413,6 +413,8 @@ class ResearchSelector(UI):
def research_jp_next(self):
self.appear_then_click(DETAIL_NEXT, offset=(20, 20), interval=0)
# Wait for the touch effect on DETAIL_NEXT to fade.
self.wait_until_appear(DETAIL_NEXT, offset=5, skip_first_screenshot=False)
self.ensure_detail_stable()
def detail_quit(self):