mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
remove hack
This commit is contained in:
@@ -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()
|
||||
@@ -1734,8 +1734,6 @@ class Widget(DOMNode):
|
||||
self._content_height_cache = (None, 0)
|
||||
self._rich_style_cache.clear()
|
||||
self._repaint_required = True
|
||||
# if isinstance(self.parent, Widget) and self.styles.auto_dimensions:
|
||||
# self.parent.refresh(layout=True)
|
||||
|
||||
self.check_idle()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user