Screen is resizable (but please be nice with it)

This commit is contained in:
Yohann D'ANELLO
2020-11-10 21:20:11 +01:00
parent d50c775e0f
commit e9ac448854
4 changed files with 8 additions and 7 deletions

View File

@@ -44,8 +44,8 @@ class MenuDisplay(Display):
self.width + self.x)
self.update_pad()
self.pad.refresh(cornery, 0, self.y + 1, self.x + 2,
self.height - 1 + self.y,
self.width - 1 + self.x)
self.height - 2 + self.y,
self.width - 2 + self.x)
@property
def preferred_width(self) -> int: