Update run.py
This commit is contained in:
1 parent
a8639a7c6f
commit
a00a511e30
1 file changed
+1
-1
@@ -153,7 +153,7 @@ def hold_and_drag(start_position_name, end_position_name):
|
|||||||
)
|
)
|
||||||
pyautogui.moveTo(start_x, start_y)
|
pyautogui.moveTo(start_x, start_y)
|
||||||
pyautogui.mouseDown()
|
pyautogui.mouseDown()
|
||||||
pyautogui.moveTo(end_x, end_y, duration=0.25) # duration for a smoother drag
|
pyautogui.moveTo(end_x, end_y, duration=0.2) # duration for a smoother drag
|
||||||
pyautogui.mouseUp()
|
pyautogui.mouseUp()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user