Skip to content

Commit

Permalink
fix: rendering issue on screen push
Browse files Browse the repository at this point in the history
  • Loading branch information
kraanzu committed Jan 3, 2024
1 parent ce2a355 commit fadf885
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions termtyper/ui/widgets/palette/palette.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ class Palette(Widget):

screen_name: str

def on_click(self, event):
self.app.push_screen(self.screen_name)
async def on_click(self, _) -> None:
await self.app.push_screen(self.screen_name)
self.app.refresh_css(animate=False)

0 comments on commit fadf885

Please sign in to comment.