mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-15 08:47:20 +08:00
Fix: Continuous click in research_queue_add() on slow PCs
This commit is contained in:
@@ -25,15 +25,16 @@ class ResearchQueue(ResearchUI):
|
|||||||
else:
|
else:
|
||||||
self.device.screenshot()
|
self.device.screenshot()
|
||||||
|
|
||||||
if self.appear_then_click(RESEARCH_QUEUE_ADD, offset=(20, 20), interval=3):
|
|
||||||
continue
|
|
||||||
if self.handle_popup_confirm('RESEARCH_QUEUE'):
|
|
||||||
continue
|
|
||||||
|
|
||||||
# End
|
# End
|
||||||
if self.is_in_research() and 'detail' in self.get_research_status(self.device.image):
|
if self.is_in_research() and 'detail' in self.get_research_status(self.device.image):
|
||||||
break
|
break
|
||||||
|
|
||||||
|
if self.appear_then_click(RESEARCH_QUEUE_ADD, offset=(20, 20), interval=5):
|
||||||
|
continue
|
||||||
|
if self.handle_popup_confirm('RESEARCH_QUEUE'):
|
||||||
|
self.interval_reset(RESEARCH_QUEUE_ADD)
|
||||||
|
continue
|
||||||
|
|
||||||
self.ensure_research_center_stable()
|
self.ensure_research_center_stable()
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
|
|||||||
Reference in New Issue
Block a user