mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 00:28:20 +08:00
Fix: Limit swipe times in retirement_get_common_rarity_cv (#4116)
This commit is contained in:
@@ -500,7 +500,10 @@ class Retirement(Enhancement, QuickRetireSettingHandler):
|
||||
if button is not None:
|
||||
return button
|
||||
|
||||
while RETIRE_CONFIRM_SCROLL.appear(main=self):
|
||||
for _ in range(7):
|
||||
if not RETIRE_CONFIRM_SCROLL.appear(main=self):
|
||||
logger.info('Scroll bar disappeared, stop')
|
||||
break
|
||||
RETIRE_CONFIRM_SCROLL.next_page(main=self)
|
||||
button = self.retirement_get_common_rarity_cv_in_page()
|
||||
if button is not None:
|
||||
|
||||
Reference in New Issue
Block a user