Skip to content

Commit

Permalink
Merge pull request #10 from lesamouraipourpre/max-size
Browse files Browse the repository at this point in the history
Remove max_size parameter
  • Loading branch information
tannewt committed Jul 8, 2021
2 parents 59d35eb + f02278a commit 5fdc8f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/ssd1327_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
display = adafruit_ssd1327.SSD1327(display_bus, width=WIDTH, height=HEIGHT)

# Make the display context
splash = displayio.Group(max_size=10)
splash = displayio.Group()
display.show(splash)

# Draw a background rectangle, but not the full display size
Expand Down Expand Up @@ -59,7 +59,6 @@
text_area = label.Label(terminalio.FONT, text=text, color=0xFFFFFF)
text_width = text_area.bounding_box[2] * FONTSCALE
text_group = displayio.Group(
max_size=10,
scale=FONTSCALE,
x=display.width // 2 - text_width // 2,
y=display.height // 2,
Expand Down

0 comments on commit 5fdc8f6

Please sign in to comment.