simplified events, added compute

This commit is contained in:
Will McGugan
2021-07-20 07:37:57 +01:00
parent d9fb516298
commit 9bf83d56f0
17 changed files with 206 additions and 191 deletions

View File

@@ -12,7 +12,7 @@ class MyApp(App):
await self.bind("b", "view.toggle('sidebar')", "Toggle sidebar")
await self.bind("q", "quit", "Quit")
async def on_startup(self, event: events.Startup) -> None:
async def on_mount(self, event: events.Mount) -> None:
body = ScrollView()