We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36f8882 commit 0b5f464Copy full SHA for 0b5f464
1 file changed
arcade/text.py
@@ -641,7 +641,7 @@ def height(self, value: int) -> None:
641
raise RuntimeError("Text must be initialized before setting the height.")
642
643
@property
644
- def size(self) -> tuple[int, int] | None:
+ def size(self) -> tuple[int | None, int | None]:
645
"""Get the size of the label."""
646
if self._initialized:
647
return self._label.width, self._label.height
0 commit comments