Don't resize pads when resizing window. For an unknown reason, pads don't want to be displayed on small screens.
This commit is contained in:
parent
42d8caefde
commit
4b8acc0597
|
@ -31,8 +31,6 @@ class Display:
|
||||||
self.y = y
|
self.y = y
|
||||||
self.width = width
|
self.width = width
|
||||||
self.height = height
|
self.height = height
|
||||||
if self.pad:
|
|
||||||
self.pad.resize(height - 1, width - 1)
|
|
||||||
|
|
||||||
def refresh(self, *args) -> None:
|
def refresh(self, *args) -> None:
|
||||||
if len(args) == 4:
|
if len(args) == 4:
|
||||||
|
|
Loading…
Reference in New Issue