mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 00:28: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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user