Skip to content

Commit

Permalink
docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Jul 30, 2024
1 parent 0e02314 commit ce39259
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/textual/widgets/_tabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ce39259

Please sign in to comment.