mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
refactor of compositor
This commit is contained in:
@@ -17,7 +17,7 @@ class Clock(Widget):
|
||||
|
||||
class ClockApp(App):
|
||||
async def on_mount(self):
|
||||
await self.view.dock(Clock())
|
||||
await self.screen.dock(Clock())
|
||||
|
||||
|
||||
ClockApp.run()
|
||||
|
||||
Reference in New Issue
Block a user