Skip to content

Commit 1dd413d

Browse files
authored
Merge pull request #12 from TG-Techie/patch-1
updating to 4.0.1
2 parents 7bf4e14 + 36ae2fe commit 1dd413d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/display_text_textarea_boundingbox.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
color_palette[0] = 0xFFFFFF
2929
bg_sprite = displayio.TileGrid(color_bitmap,
3030
pixel_shader=color_palette,
31-
position=(0, 0))
31+
x=0, y=0)
3232
splash.append(bg_sprite)
3333

3434
# Load the font
@@ -50,7 +50,7 @@
5050
textbg_palette[0] = 0xFF0000
5151
textbg_sprite = displayio.TileGrid(textbg_bitmap,
5252
pixel_shader=textbg_palette,
53-
position=(text.x+dims[0], text.y+dims[1]))
53+
x=text.x+dims[0], y=text.y+dims[1])
5454
splash.append(textbg_sprite)
5555
splash.append(text)
5656
board.DISPLAY.refresh_soon()

0 commit comments

Comments
 (0)