diff options
| author | k <k@klabz.org> | 2021-10-15 21:02:33 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel.thompson@linaro.org> | 2021-10-16 09:26:35 (GMT) |
| commit | 54e8f5771dd256276fa20ff92f8676c8e4616e84 (patch) | |
| tree | 257789076e2efb408efe43d4df028b41194ef546 | |
| parent | bbf7d3aa14e4b3575d82c9d37bcec5d051b765c0 (diff) | |
[stopwatch] Fix refactoring remains
Closes #264
Signed-off-by: k <k@klabz.org>
| -rw-r--r-- | wasp/apps/stopwatch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wasp/apps/stopwatch.py b/wasp/apps/stopwatch.py index 3aa24d3..48fe461 100644 --- a/wasp/apps/stopwatch.py +++ b/wasp/apps/stopwatch.py @@ -45,7 +45,7 @@ class StopwatchApp(): No other swipe event is possible for this application. """ - if not self._started_at: + if not self._timer._started_at: self._reset() return True # Request system default handling @@ -84,7 +84,7 @@ class StopwatchApp(): draw.fill(0, 0, 120, 240, 120) return y = 240 - 6 - (len(splits) * 24) - + draw.set_font(fonts.sans24) draw.set_color(wasp.system.theme('mid')) |
