1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 14:29:26 +08:00

Fix: Handle 2 Infobars covering action_point ocr (#2503)

This commit is contained in:
guoh064
2023-04-19 20:48:20 +08:00
committed by GitHub
parent 590435f42c
commit 64db1406a0

View File

@@ -150,6 +150,9 @@ class ActionPointHandler(UI, MapEventHandler):
skip_first_screenshot = False
else:
self.device.screenshot()
if self.info_bar_count() >= 2:
continue
if timeout.reached():
logger.warning('Get action points timeout')