|
|
@@ -81,7 +81,10 @@ def tap(name, x, y=None):
|
|
|
sleep = 1
|
|
|
|
|
|
sleep += random.uniform(0, 0.2)
|
|
|
- text = f"- {name} (pause for {sleep}s)"
|
|
|
+ text = f"- {name} (pause for {sleep:.2f}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)
|