Merge pull request #18 from Leonti/patch-1

ugui.py Fix height and width in clr_scr
pull/21/head
Peter Hinch 2022-09-11 13:54:02 +01:00 zatwierdzone przez GitHub
commit 737dc6d2c9
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -164,7 +164,7 @@ class DisplayIP:
# These methods support greying out color overrides.
# Clear screen.
def clr_scr(self):
ssd.fill_rect(0, 0, self.width - 1, self.height - 1, color_map[BG])
ssd.fill_rect(0, 0, self.width, self.height, color_map[BG])
def rect(self, x1, y1, w, h, color):
ssd.rect(x1, y1, w, h, self._getcolor(color))