mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
simplify
This commit is contained in:
@@ -104,7 +104,6 @@ class StylesCache:
|
||||
Returns:
|
||||
Rendered lines.
|
||||
"""
|
||||
|
||||
border_title = widget._border_title
|
||||
border_subtitle = widget._border_subtitle
|
||||
|
||||
|
||||
@@ -3627,7 +3627,7 @@ class Widget(DOMNode):
|
||||
"""
|
||||
parent = self.parent
|
||||
if isinstance(parent, Widget):
|
||||
if self.region:
|
||||
if self._size:
|
||||
self.screen.scroll_to_widget(
|
||||
self,
|
||||
animate=animate,
|
||||
|
||||
Reference in New Issue
Block a user