call later

This commit is contained in:
Will McGugan
2022-11-09 17:23:28 +00:00
parent 51d5e7db0c
commit 39a764f49f
9 changed files with 88 additions and 22 deletions

View File

@@ -23,7 +23,7 @@ class BindingApp(App):
bar = Bar(color)
bar.styles.background = Color.parse(color).with_alpha(0.5)
self.mount(bar)
self.call_later(self.screen.scroll_end, animate=False)
self.call_after_refresh(self.screen.scroll_end, animate=False)
if __name__ == "__main__":