diff --git a/src/textual/widget.py b/src/textual/widget.py index d5a25df7a..96ab3ebed 100644 --- a/src/textual/widget.py +++ b/src/textual/widget.py @@ -668,7 +668,7 @@ class Widget(DOMNode): @property def _focus_sort_key(self) -> tuple[int, int]: - """Key function to sort widgets in to tfocus order.""" + """Key function to sort widgets in to focus order.""" x, y, _, _ = self.virtual_region top, _, _, left = self.styles.margin return y - top, x - left