Skip to content

Commit fa59f83

Browse files
authored
Merge pull request #2491 from aioue/patch-2
Update code.py - thank you
2 parents bd8bf1a + d0305f0 commit fa59f83

File tree

1 file changed

+1
-1
lines changed
  • CircuitPython_Display_Text/colormask_example

1 file changed

+1
-1
lines changed

CircuitPython_Display_Text/colormask_example/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# Make the display context. Change size if you want
1616
display = board.DISPLAY
1717

18-
background = displayio.Bitmap(320, 240, 1)
18+
background = displayio.Bitmap(display.width, display.height, 1)
1919
bg_palette = displayio.Palette(1)
2020
bg_palette[0] = 0xDDDD00
2121

0 commit comments

Comments
 (0)