This commit is contained in:
Will McGugan
2023-01-23 12:09:41 +01:00
parent dc97baedc5
commit e852795e10
2 changed files with 1 additions and 1 deletions

View File

@@ -424,7 +424,6 @@ class Screen(Widget):
def _refresh_layout(self, size: Size | None = None, full: bool = False) -> None:
"""Refresh the layout (can change size and positions of widgets)."""
print("Screen._refresh_layout", size, full)
size = self.outer_size if size is None else size
if not size:
return

View File

@@ -92,6 +92,7 @@ class AwaitMount:
self._widgets = widgets
async def __call__(self) -> None:
"""Allows awaiting via a call operation."""
await self
def __await__(self) -> Generator[None, None, None]: