Skip to content

Commit f926a81

Browse files
authored
Make arcade.Text lazy (#2642)
* Make arcade.Text lazy * Fix size function return type * Try to fix size function return type * Make code lines shorter to fix typing errors * remove trailing whitespace and fix type of size function * Add the label property and make arguments private - Add the label property and use it in the code, if its not initialized, raise a RuntimeError. - Make the `arguments` and `kwargs` private, using _ * Fix label property errors * Fix docstring and formatting * Fix formatting * Only initialize label if its not already * Use a dict for both args and kwargs * Fix font_name typing issue * fix pyglet.text.Label typing issue
1 parent 93d5603 commit f926a81

1 file changed

Lines changed: 118 additions & 90 deletions

File tree

0 commit comments

Comments
 (0)