mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
comment
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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]:
|
||||
|
||||
Reference in New Issue
Block a user