From 4b8acc0597be1ba6498d8ad5a706afc87987cdd4 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Wed, 11 Nov 2020 21:55:57 +0100 Subject: [PATCH] Don't resize pads when resizing window. For an unknown reason, pads don't want to be displayed on small screens. --- dungeonbattle/display/display.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/dungeonbattle/display/display.py b/dungeonbattle/display/display.py index 1a2e0ca..c803aca 100644 --- a/dungeonbattle/display/display.py +++ b/dungeonbattle/display/display.py @@ -31,8 +31,6 @@ class Display: self.y = y self.width = width self.height = height - if self.pad: - self.pad.resize(height - 1, width - 1) def refresh(self, *args) -> None: if len(args) == 4: