Skip to content

Commit

Permalink
Merge pull request #25 from lesamouraipourpre/remove-max-glyphs
Browse files Browse the repository at this point in the history
Remove usage of max_glyphs with Label
  • Loading branch information
tannewt authored Jul 22, 2021
2 parents 12274ab + 354041e commit 530d335
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions examples/cursorcontrol_buttons_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,10 @@
)
splash.append(text_label)

text_speed = label.Label(
font, max_glyphs=15, color=0x00FF00, x=LBL_TEXT[0], y=LBL_TEXT[1]
)
text_speed = label.Label(font, color=0x00FF00, x=LBL_TEXT[0], y=LBL_TEXT[1])
splash.append(text_speed)

text_scale = label.Label(
font, max_glyphs=15, color=0x00FF00, x=LBL_TEXT[0], y=LBL_TEXT[1] + 20
)
text_scale = label.Label(font, color=0x00FF00, x=LBL_TEXT[0], y=LBL_TEXT[1] + 20)
splash.append(text_scale)

# initialize the mouse cursor object
Expand Down

0 comments on commit 530d335

Please sign in to comment.