fixes for reactive

This commit is contained in:
Will McGugan
2022-08-22 11:26:39 +01:00
parent 25a4812f7a
commit 18f96d483c
16 changed files with 342 additions and 59 deletions

View File

@@ -15,7 +15,7 @@ class TimeDisplay(Static):
"""Called when time_delta changes."""
minutes, seconds = divmod(time, 60)
hours, minutes = divmod(minutes, 60)
self.update(f"{hours:02.0f}:{minutes:02.0f}:{seconds:05.2f}")
self.update(f"{hours:02,.0f}:{minutes:02.0f}:{seconds:05.2f}")
class Stopwatch(Static):