mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-14 07:08:04 +08:00
Fix: [ALAS] Touch builders have no retries if called directly
This commit is contained in:
parent
00926388c8
commit
54ff40588c
@ -107,6 +107,7 @@ class MaaTouch(Connection):
|
||||
_maatouch_init_thread = None
|
||||
|
||||
@cached_property
|
||||
@retry
|
||||
def _maatouch_builder(self):
|
||||
self.maatouch_init()
|
||||
return MaatouchBuilder(self)
|
||||
|
||||
@ -373,6 +373,7 @@ class Minitouch(Connection):
|
||||
_minitouch_init_thread = None
|
||||
|
||||
@cached_property
|
||||
@retry
|
||||
def _minitouch_builder(self):
|
||||
self.minitouch_init()
|
||||
return CommandBuilder(self)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user