Fix: [ALAS] Missing wait after down event

This commit is contained in:
LmeSzinc 2024-10-10 21:42:12 +08:00
parent c79a7ca7a4
commit a548cee2b4
2 changed files with 4 additions and 4 deletions

View File

@ -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:]:

View File

@ -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:]: