remove hack

This commit is contained in:
Will McGugan
2022-10-08 14:55:01 +01:00
parent 8e6f2b7ae0
commit 4ff99bc72c
2 changed files with 0 additions and 16 deletions

View File

@@ -1,14 +0,0 @@
from textual.app import App, ComposeResult
from textual.widgets import Button
class ButtonsApp(App):
def compose(self) -> ComposeResult:
yield Button("Paul")
yield Button("Duncan")
yield Button("Chani")
if __name__ == "__main__":
app = ButtonsApp()
app.run()

View File

@@ -1734,8 +1734,6 @@ class Widget(DOMNode):
self._content_height_cache = (None, 0) self._content_height_cache = (None, 0)
self._rich_style_cache.clear() self._rich_style_cache.clear()
self._repaint_required = True self._repaint_required = True
# if isinstance(self.parent, Widget) and self.styles.auto_dimensions:
# self.parent.refresh(layout=True)
self.check_idle() self.check_idle()