narrow down rules

This commit is contained in:
Will McGugan
2022-08-26 10:12:59 +01:00
parent e19a0090f7
commit f49b8d2fad
7 changed files with 61 additions and 21 deletions

View File

@@ -88,6 +88,7 @@ class StopwatchApp(App):
new_stopwatch = Stopwatch()
self.query_one("#timers").mount(new_stopwatch)
new_stopwatch.scroll_visible()
self.sub_title = str(len(self.query("Stopwatch")))
def action_remove_stopwatch(self) -> None:
"""Called to remove a timer."""