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>
This commit is contained in:
parent
90411fb9f8
commit
bd91a1076d
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue