From ce39259eb30a75190ff49f77a3a6c1a178b096e5 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Tue, 30 Jul 2024 14:05:25 +0100 Subject: [PATCH] docstring --- src/textual/widgets/_tabs.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/textual/widgets/_tabs.py b/src/textual/widgets/_tabs.py index fbf8355a29..1cd0668dc0 100644 --- a/src/textual/widgets/_tabs.py +++ b/src/textual/widgets/_tabs.py @@ -607,7 +607,11 @@ def _highlight_active( underline.show_highlight = True def move_underline(animate: bool) -> None: - """Move the tab underline.""" + """Move the tab underline. + + Args: + animate: animate the underline to its new position. + """ try: active_tab = self.query_one("#tabs-list > Tab.-active") except NoMatches: