Tidy up the docstring of Widget.scroll_left

Delivering on a promise made in #1920.
This commit is contained in:
Dave Pearson
2023-03-01 14:37:30 +00:00
parent 88f771b4e1
commit ee126a9427

View File

@@ -1648,11 +1648,10 @@ class Widget(DOMNode):
"""Scroll one cell left.
Args:
animate: Animate scroll. Defaults to True.
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. Defaults to "None",
which will result in Textual choosing the configured default scrolling easing function.
animate: Animate scroll.
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`.
"""
self.scroll_to(