mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-18 18:23:33 +08:00
Fix: Handle action point popup without black-blurred background
This commit is contained in:
@@ -347,8 +347,11 @@ class ActionPointHandler(UI, MapEventHandler):
|
|||||||
self.device.screenshot()
|
self.device.screenshot()
|
||||||
|
|
||||||
# End
|
# End
|
||||||
if self.appear(OS_CHECK, offset=(20, 20)):
|
# sometimes you have action point popup without black-blurred background
|
||||||
break
|
# ACTION_POINT_CANCEL and OS_CHECK both appears
|
||||||
|
if not self.appear(ACTION_POINT_CANCEL, offset=(20, 20)):
|
||||||
|
if self.appear(OS_CHECK, offset=(20, 20)):
|
||||||
|
break
|
||||||
# Click
|
# Click
|
||||||
if self.appear_then_click(ACTION_POINT_CANCEL, offset=(20, 20), interval=3):
|
if self.appear_then_click(ACTION_POINT_CANCEL, offset=(20, 20), interval=3):
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user