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

@ -42,7 +42,7 @@ class MapDisplay(Display):
pminrow = max(0, min(self.map.height, pminrow))
pmincol = max(0, min(self.pack.tile_width * self.map.width, pmincol))
self.pad.clear()
self.pad.erase()
self.update_pad()
self.refresh_pad(self.pad, pminrow, pmincol, sminrow, smincol, smaxrow,
smaxcol)