mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-10 20:02:14 +00:00
fix: add missing wait after down event
This commit is contained in:
@@ -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:]:
|
||||
|
||||
Reference in New Issue
Block a user