mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Fix: [ALAS] Missing wait after down event
This commit is contained in:
parent
c79a7ca7a4
commit
a548cee2b4
@ -277,7 +277,7 @@ class MaaTouch(Connection):
|
||||
points = insert_swipe(p0=p1, p3=p2)
|
||||
builder = self.maatouch_builder
|
||||
|
||||
builder.down(*points[0]).commit()
|
||||
builder.down(*points[0]).commit().wait(10)
|
||||
builder.send()
|
||||
|
||||
for point in points[1:]:
|
||||
@ -294,7 +294,7 @@ class MaaTouch(Connection):
|
||||
points = insert_swipe(p0=p1, p3=p2, speed=20)
|
||||
builder = self.maatouch_builder
|
||||
|
||||
builder.down(*points[0]).commit()
|
||||
builder.down(*points[0]).commit().wait(10)
|
||||
builder.send()
|
||||
|
||||
for point in points[1:]:
|
||||
|
@ -604,7 +604,7 @@ class Minitouch(Connection):
|
||||
points = insert_swipe(p0=p1, p3=p2)
|
||||
builder = self.minitouch_builder
|
||||
|
||||
builder.down(*points[0]).commit()
|
||||
builder.down(*points[0]).commit().wait(10)
|
||||
builder.send()
|
||||
|
||||
for point in points[1:]:
|
||||
@ -621,7 +621,7 @@ class Minitouch(Connection):
|
||||
points = insert_swipe(p0=p1, p3=p2, speed=20)
|
||||
builder = self.minitouch_builder
|
||||
|
||||
builder.down(*points[0]).commit()
|
||||
builder.down(*points[0]).commit().wait(10)
|
||||
builder.send()
|
||||
|
||||
for point in points[1:]:
|
||||
|
Loading…
Reference in New Issue
Block a user