mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 22:08:20 +08:00
Fix: [ALAS] Touch builders have no retries if called directly
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user