From 473a502277b659a2aafdb7825b85acf98115c89b Mon Sep 17 00:00:00 2001 From: "Egli Adrian (IT-SCI-API-PFI)" <adrian.egli@sbb.ch> Date: Tue, 2 Jul 2019 22:42:13 +0200 Subject: [PATCH] . --- flatland/utils/graphics_pil.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flatland/utils/graphics_pil.py b/flatland/utils/graphics_pil.py index 6728b5a..2332ecf 100644 --- a/flatland/utils/graphics_pil.py +++ b/flatland/utils/graphics_pil.py @@ -48,6 +48,8 @@ class PILGL(GraphicsLayer): self.screen_height = 600 if platform.system() == "Windows" or platform.system() == "Linux": + self.screen_width = 9999 + self.screen_height = 9999 for m in get_monitors(): self.screen_height = min(self.screen_height, m.height) self.screen_width = min(self.screen_width, m.width) -- GitLab