Erase pads instead of clearing them, fixes #21

This commit is contained in:
Yohann D'ANELLO
2020-11-26 22:20:14 +01:00
parent 3e7dabc94e
commit 1e48bd16b3
5 changed files with 5 additions and 5 deletions

View File

@ -35,7 +35,7 @@ class MenuDisplay(Display):
# Menu box
self.menubox.refresh(self.y, self.x, self.height, self.width)
self.pad.clear()
self.pad.erase()
self.update_pad()
self.refresh_pad(self.pad, cornery, 0, self.y + 1, self.x + 2,
self.height - 2 + self.y,