We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bd8bf1a + d0305f0 commit fa59f83Copy full SHA for fa59f83
1 file changed
CircuitPython_Display_Text/colormask_example/code.py
@@ -15,7 +15,7 @@
15
# Make the display context. Change size if you want
16
display = board.DISPLAY
17
18
-background = displayio.Bitmap(320, 240, 1)
+background = displayio.Bitmap(display.width, display.height, 1)
19
bg_palette = displayio.Palette(1)
20
bg_palette[0] = 0xDDDD00
21
0 commit comments