mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 02:48:23 +08:00
Fix: Conflict interval of GET_MISSION in ui switching
This commit is contained in:
@@ -91,8 +91,10 @@ class InfoHandler(ModuleBase):
|
||||
return True
|
||||
return False
|
||||
|
||||
def handle_popup_single(self, name=''):
|
||||
if self.appear(GET_MISSION, offset=self._popup_offset, interval=2):
|
||||
def handle_popup_single(self, offset=None, name=''):
|
||||
if offset is None:
|
||||
offset = self._popup_offset
|
||||
if self.appear(GET_MISSION, offset=offset, interval=2):
|
||||
prev_name = GET_MISSION.name
|
||||
GET_MISSION.name = POPUP_CONFIRM.name + '_' + name
|
||||
self.device.click(GET_MISSION)
|
||||
|
||||
Reference in New Issue
Block a user