1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 10:58:21 +08:00

Fix: Handle popup to use 2x book (#880)

This commit is contained in:
LmeSzinc
2022-01-18 22:06:38 +08:00
parent 4bf8455ae8
commit 0caf4ba990
7 changed files with 12 additions and 0 deletions

View File

@@ -383,3 +383,10 @@ class FastForwardHandler(AutoSearchHandler):
self.handle_info_bar()
return True
def handle_2x_book_popup(self):
if self.appear(BOOK_POPUP_CHECK, offset=(20, 20)):
if self.handle_popup_confirm('2X_BOOK'):
return True
return False