mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
docstring
This commit is contained in:
@@ -475,6 +475,7 @@ class App(DOMNode):
|
||||
self.log_file.close()
|
||||
|
||||
async def on_idle(self) -> None:
|
||||
"""Perform actions when there are no messages in the queue."""
|
||||
if self._require_styles_update:
|
||||
await self.post_message(messages.StylesUpdated(self))
|
||||
self._require_styles_update = False
|
||||
|
||||
Reference in New Issue
Block a user