mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Tidy up the docstring of Widget._scroll_left_for_pointer
Delivering on a promise made in #1920.
This commit is contained in:
@@ -1675,12 +1675,11 @@ class Widget(DOMNode):
|
|||||||
"""Scroll left one position, taking scroll sensitivity into account.
|
"""Scroll left one position, taking scroll sensitivity into account.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
animate: Animate scroll. Defaults to True.
|
animate: Animate scroll.
|
||||||
speed: Speed of scroll if animate is True. Or None to use duration.
|
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.
|
duration: Duration of animation, if `animate` is `True` and `speed` is `None`.
|
||||||
easing: An easing method for the scrolling animation. Defaults to "None",
|
easing: An easing method for the scrolling animation.
|
||||||
which will result in Textual choosing the configured default scrolling easing function.
|
force: Force scrolling even when prohibited by overflow styling.
|
||||||
force: Force scrolling even when prohibited by overflow styling. Defaults to `False`.
|
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
True if any scrolling was done.
|
True if any scrolling was done.
|
||||||
|
|||||||
Reference in New Issue
Block a user