We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd8bf1a commit d0305f0Copy full SHA for d0305f0
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