1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-07-09 14:07:03 +08:00

Fix: quit island product page if no matched item

This commit is contained in:
2025-10-12 03:34:40 +08:00
parent 20de64bd44
commit 903e94c2fc
3 changed files with 9 additions and 8 deletions

View File

@@ -196,7 +196,8 @@ class Island(IslandUI):
drag = False
if last == current.items[-1]:
logger.info('Reach the bottom of items')
logger.info(f'Reach the bottom of items, dit not match item {option}')
self.island_product_quit()
return False
if drag:
@@ -317,8 +318,8 @@ class Island(IslandUI):
continue
if self.project_receive(button):
self.island_select_role()
self.island_select_product(option)
self.island_product_confirm()
if self.island_select_product(option):
self.island_product_confirm()
if not end or option != proj_config[-1]:
self.ensure_project(proj)
timeout.reset()