1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 01:38:21 +08:00

Fix: wait_until_stable timeout timer

This commit is contained in:
LmeSzinc
2021-07-10 22:27:47 +08:00
parent 4de7fc5039
commit 54c79660aa

View File

@@ -95,7 +95,7 @@ class ModuleBase:
if not self.appear(button, offset=offset):
break
def wait_until_stable(self, button, timer=Timer(0.3, count=1), timeout=Timer(5), skip_first_screenshot=True):
def wait_until_stable(self, button, timer=Timer(0.3, count=1), timeout=Timer(5, count=10), skip_first_screenshot=True):
button._match_init = False
timeout.start()
while 1: