Skip to content

Commit

Permalink
Tidy up the docstring of Widget._scroll_to
Browse files Browse the repository at this point in the history
Delivering on a promise made in Textualize#1920.
  • Loading branch information
davep committed Mar 1, 2023
1 parent cf34e5e commit 2fce894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textual/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -1442,7 +1442,7 @@ def _scroll_to(
speed: Speed of scroll if `animate` is `True`. Or `None` to use duration.
duration: Duration of animation, if `animate` is `True` and speed is `None`.
easing: An easing method for the scrolling animation.
force: Force scrolling even when prohibited by overflow styling. Defaults to `False`.
force: Force scrolling even when prohibited by overflow styling.
Returns:
`True` if the scroll position changed, otherwise `False`.
Expand Down

0 comments on commit 2fce894

Please sign in to comment.