|
|
@@ -83,6 +83,9 @@ def tap(name, x, y=None):
|
|
|
sleep += random.uniform(0, 0.2)
|
|
|
text = f"- {name} (pause for {sleep}s)"
|
|
|
|
|
|
+ if y is None and isinstance(x, tuple):
|
|
|
+ x, y, *_ = x
|
|
|
+
|
|
|
tap_helper(x + random.randint(-3, 3), y + random.randint(-3, 3), text)
|
|
|
time.sleep(sleep)
|
|
|
|