Skip to content

Commit

Permalink
fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed May 24, 2024
1 parent fa37983 commit 3446f42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textual/widgets/_button.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ async def _on_click(self, event: events.Click) -> None:
self.press()

def press(self) -> Self:
"""Animate the button and send the [Pressed][textual.widgets.button.Button.Pressed] message.
"""Animate the button and send the [Pressed][textual.widgets.Button.Pressed] message.
Can be used to simulate the button being pressed by a user.
Expand Down

0 comments on commit 3446f42

Please sign in to comment.