Tidy up the docstring of Widget._scroll_to

Delivering on a promise made in #1920.
This commit is contained in:
Dave Pearson
2023-03-01 14:34:11 +00:00
parent cf34e5e7fa
commit 2fce894b90

View File

@@ -1442,7 +1442,7 @@ class Widget(DOMNode):
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`.