diff --git a/testing/sprites/lib/tile_grid.py b/testing/sprites/lib/tile_grid.py index d3d4fca..eedcae0 100644 --- a/testing/sprites/lib/tile_grid.py +++ b/testing/sprites/lib/tile_grid.py @@ -222,7 +222,7 @@ def update(self): @property def open(self): - return any([cell.open for cell in self.cells]) + return any([cell.open for cell in self.cells_inst]) def __repr__(self): return f"HorizontalCollapseTileGridColumn(open={self.open}, width={self.width_animator.value}, cells={len(self.cells)})"