debug dragTo
This commit is contained in:
@@ -143,7 +143,7 @@ class PythonController:
|
|||||||
if "x" in parameters and "y" in parameters:
|
if "x" in parameters and "y" in parameters:
|
||||||
x = parameters["x"]
|
x = parameters["x"]
|
||||||
y = parameters["y"]
|
y = parameters["y"]
|
||||||
self.execute_python_command(f"pyautogui.dragTo({x}, {y}, button='left')")
|
self.execute_python_command(f"pyautogui.dragTo({x}, {y}, duration=1.0, button='left', mouseDownUp=True)")
|
||||||
|
|
||||||
elif action_type == "SCROLL":
|
elif action_type == "SCROLL":
|
||||||
# todo: check if it is related to the operating system, as https://github.com/TheDuckAI/DuckTrack/blob/main/ducktrack/playback.py pointed out
|
# todo: check if it is related to the operating system, as https://github.com/TheDuckAI/DuckTrack/blob/main/ducktrack/playback.py pointed out
|
||||||
|
|||||||
Reference in New Issue
Block a user