Skip to content

Commit 530d335

Browse files
authored
Merge pull request #25 from lesamouraipourpre/remove-max-glyphs
Remove usage of max_glyphs with Label
2 parents 12274ab + 354041e commit 530d335

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

examples/cursorcontrol_buttons_text.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,10 @@
102102
)
103103
splash.append(text_label)
104104

105-
text_speed = label.Label(
106-
font, max_glyphs=15, color=0x00FF00, x=LBL_TEXT[0], y=LBL_TEXT[1]
107-
)
105+
text_speed = label.Label(font, color=0x00FF00, x=LBL_TEXT[0], y=LBL_TEXT[1])
108106
splash.append(text_speed)
109107

110-
text_scale = label.Label(
111-
font, max_glyphs=15, color=0x00FF00, x=LBL_TEXT[0], y=LBL_TEXT[1] + 20
112-
)
108+
text_scale = label.Label(font, color=0x00FF00, x=LBL_TEXT[0], y=LBL_TEXT[1] + 20)
113109
splash.append(text_scale)
114110

115111
# initialize the mouse cursor object

0 commit comments

Comments
 (0)