Skip to content

Commit

Permalink
rename toggle_delay to mouse_toggle_delay
Browse files Browse the repository at this point in the history
  • Loading branch information
laracroft37 committed Dec 5, 2024
1 parent 1db8778 commit dd0c447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guibot/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ def mouse_click(
# control the toggle speed
# self._backend_obj.click(clicks=count, interval=click_timeout, button=button)
self._backend_obj.mouseDown(button=button)
time.sleep(self.params["control"]["toggle_delay"])
time.sleep(self.params["control"]["mouse_toggle_delay"])
self._backend_obj.mouseUp(button=button)
time.sleep(self.params["control"]["after_click_delay"])
if modifiers is not None:
Expand Down

0 comments on commit dd0c447

Please sign in to comment.