Skip to content

Commit f8f6278

Browse files
committed
Add color parameter to superclass initialization in Text entity
1 parent 5b0bf71 commit f8f6278

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

engine/core/text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def __init__(
6666

6767
self._update_text_surface()
6868

69-
super().__init__(x, y, width=self.text_rect.width, height=self.text_rect.height)
69+
super().__init__(x, y, width=self.text_rect.width, height=self.text_rect.height, color=self.color)
7070

7171
def _update_text_surface(self) -> None:
7272
"""

0 commit comments

Comments
 (0)