Fully clear the screen

Use the full width and height of the screen to clear it.
pull/18/head
Leonti Bielski 2022-09-11 14:11:57 +10:00 zatwierdzone przez GitHub
rodzic 2513961f0c
commit 39d27b5c0f
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))