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:
|
for ancestor in self.ancestors:
|
||||||
if not isinstance(ancestor, Widget):
|
if not isinstance(ancestor, Widget):
|
||||||
break
|
break
|
||||||
if ancestor.styles.auto_dimensions:
|
ancestor._clear_arrangement_cache()
|
||||||
for ancestor in self.ancestors_with_self:
|
|
||||||
if isinstance(ancestor, Widget):
|
|
||||||
ancestor._clear_arrangement_cache()
|
|
||||||
break
|
|
||||||
|
|
||||||
if repaint:
|
if repaint:
|
||||||
self._set_dirty(*regions)
|
self._set_dirty(*regions)
|
||||||
|
|||||||
Reference in New Issue
Block a user