Commit 414936a9 authored by huangziyu's avatar huangziyu

1

parent e9ff61f5
...@@ -133,8 +133,8 @@ class SlideUtils: ...@@ -133,8 +133,8 @@ class SlideUtils:
pyautogui.moveTo(x + int(offset * random.randint(15, 23) / 20), y, duration=0.5) pyautogui.moveTo(x + int(offset * random.randint(15, 23) / 20), y, duration=0.5)
y += random.randint(-9, 0) y += random.randint(-9, 0)
pyautogui.moveTo(x + int(offset * random.randint(17, 21) / 20), y, duration=random.randint(20, 31) / 100) pyautogui.moveTo(x + int(offset * random.randint(17, 21) / 20), y, duration=random.randint(20, 31) / 100)
y += random.randint(0, 2) y += random.randint(0, 3)
pyautogui.moveTo(xx, y, duration=1.2) pyautogui.moveTo(xx, y, duration=1.5)
# print("睡眠2秒后松开") # print("睡眠2秒后松开")
# time.sleep(0.3) # time.sleep(0.3)
pyautogui.mouseUp() pyautogui.mouseUp()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment