From ba945b457c7fcf0dbdd5faa40dc2356c60994399 Mon Sep 17 00:00:00 2001 From: adrian Date: Mon, 24 Oct 2022 22:56:50 +0300 Subject: [PATCH] fix #1 --- pyamaze/pyamaze.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pyamaze/pyamaze.py b/pyamaze/pyamaze.py index 9a71878..f87879c 100644 --- a/pyamaze/pyamaze.py +++ b/pyamaze/pyamaze.py @@ -26,6 +26,8 @@ from tkinter import * from enum import Enum from collections import deque +from platform import system + class COLOR(Enum): ''' @@ -619,7 +621,10 @@ def _drawMaze(self,theme): self._LabWidth=26 # Space from the top for Labels self._win=Tk() - self._win.state('zoomed') + if system() == 'Linux': + self._win.state('normal') + else: + self._win.state('zoomed') self._win.title('PYTHON MAZE WORLD by Learning Orbis') scr_width=self._win.winfo_screenwidth()