1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-22 03:39:16 +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 bad5e884e6
commit 3bc3fe6959
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()