diff options
| author | Rudy Ges <github@kla.bz> | 2021-09-20 15:23:26 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel.thompson@linaro.org> | 2021-10-16 09:32:34 (GMT) |
| commit | bd91a1076dc82d90ed36684f6729f408ab6a7056 (patch) | |
| tree | 66a3715ae3a52304337290a2d7f3e1ee412924a6 /wasp | |
| parent | 90411fb9f8ec681fabadb5bd6b6ef75e1f20757d (diff) | |
HeartApp: draw black line ahead of cursor
Helps seeing where the cursor is when displaying data over previous screen

Signed-off-by: k <k@klabz.org>
Diffstat (limited to 'wasp')
| -rw-r--r-- | wasp/apps/heart.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wasp/apps/heart.py b/wasp/apps/heart.py index 5d181b0..66752d7 100644 --- a/wasp/apps/heart.py +++ b/wasp/apps/heart.py @@ -90,6 +90,8 @@ class HeartApp(): x = self._x draw.fill(0, x, 32, 1, 208-spl) draw.fill(color, x, 239-spl, 1, spl) + if x < 238: + draw.fill(0, x+1, 32, 2, 208) x += 2 if x >= 240: x = 0 |
