From 2fce894b90536cac1ba01ed6d921d7a8ebef8b10 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Wed, 1 Mar 2023 14:34:11 +0000 Subject: [PATCH] Tidy up the docstring of Widget._scroll_to Delivering on a promise made in #1920. --- src/textual/widget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textual/widget.py b/src/textual/widget.py index 25b89faf82..fd2a3cf0af 100644 --- a/src/textual/widget.py +++ b/src/textual/widget.py @@ -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`.