Don't resize map pad: it has already the good size (the map dimensions)
This commit is contained in:
@ -31,7 +31,9 @@ class DisplayManager:
|
||||
|
||||
def refresh(self) -> None:
|
||||
if self.game.state == GameMode.PLAY:
|
||||
self.mapdisplay.refresh(0, 0, self.rows * 4 // 5, self.cols)
|
||||
# The map pad has already the good size
|
||||
self.mapdisplay.refresh(0, 0, self.rows * 4 // 5, self.cols,
|
||||
resize_pad=False)
|
||||
self.statsdisplay.refresh(self.rows * 4 // 5, 0,
|
||||
self.rows // 5, self.cols)
|
||||
if self.game.state == GameMode.MAINMENU:
|
||||
|
Reference in New Issue
Block a user