mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-30 02:47:13 +08:00
Fix: wait_until_stable timeout timer
This commit is contained in:
@@ -95,7 +95,7 @@ class ModuleBase:
|
|||||||
if not self.appear(button, offset=offset):
|
if not self.appear(button, offset=offset):
|
||||||
break
|
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
|
button._match_init = False
|
||||||
timeout.start()
|
timeout.start()
|
||||||
while 1:
|
while 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user