testapp: Smoother transitions between tests
This commit is contained in:
parent
d236db68dc
commit
24438ad05d
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ class TestApp():
|
|||
|
||||
def draw(self, effect=None):
|
||||
"""Redraw the display from scratch."""
|
||||
watch.display.mute(True)
|
||||
watch.display.fill(0)
|
||||
self.drawable.string('{} test'.format(self.test),
|
||||
0, 6, width=240)
|
||||
watch.display.mute(False)
|
||||
|
|
Loading…
Add table
Reference in a new issue