1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 22:08:20 +08:00

Opt: Remove ensure main after task finishes

- Clear offset of GOTO_MAIN to avoid clicking outside of screen
This commit is contained in:
LmeSzinc
2021-09-20 17:30:29 +08:00
parent 47ceb732c7
commit 4fd1147a40
4 changed files with 8 additions and 2 deletions

View File

@@ -159,6 +159,7 @@ class UI(InfoHandler):
logger.hr(f'UI goto {destination}')
confirm_timer = Timer(confirm_wait, count=int(confirm_wait // 0.5)).start()
while 1:
GOTO_MAIN.clear_offset()
if skip_first_screenshot:
skip_first_screenshot = False
else: