Skip to content

Commit

Permalink
Fixing incorrect docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
bradmajewski authored Aug 17, 2024
1 parent b8ca57d commit c10c538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/mouse/mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def mouse_drag_end():
ctrl.mouse_click(button=button, up=True)

def mouse_drag_toggle(button: int):
"""If the button is held down, release all held buttons, else start dragging"""
"""If the button is held down, release the button, else start dragging"""
if button in list(ctrl.mouse_buttons_down()):
ctrl.mouse_click(button=button, up=True)
else:
Expand Down

0 comments on commit c10c538

Please sign in to comment.