Move set_font down to title line

(it was sometimes drawing the title with the wrong font)
pull/460/head
helgibbons 2022-07-15 15:58:11 +01:00
rodzic 33b2c3908d
commit ad7121dbdc
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -40,7 +40,6 @@ network_manager = NetworkManager(WIFI_CONFIG.COUNTRY, status_handler=status_hand
gc.collect()
graphics = PicoGraphics(DISPLAY_INKY_FRAME)
WIDTH, HEIGHT = graphics.get_bounds()
graphics.set_font("cursive")
gc.collect()
@ -123,6 +122,7 @@ while True:
# Main text
graphics.set_pen(4)
graphics.set_font("cursive")
graphics.text("Activity Idea", 55, 30, WIDTH - 20, 2)
graphics.set_pen(0)
graphics.set_font("bitmap8")