mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
revert optimization
This commit is contained in:
@@ -2179,11 +2179,7 @@ class Widget(DOMNode):
|
||||
for ancestor in self.ancestors:
|
||||
if not isinstance(ancestor, Widget):
|
||||
break
|
||||
if ancestor.styles.auto_dimensions:
|
||||
for ancestor in self.ancestors_with_self:
|
||||
if isinstance(ancestor, Widget):
|
||||
ancestor._clear_arrangement_cache()
|
||||
break
|
||||
ancestor._clear_arrangement_cache()
|
||||
|
||||
if repaint:
|
||||
self._set_dirty(*regions)
|
||||
|
||||
Reference in New Issue
Block a user