Skip to content

Commit 0d15349

Browse files
authored
Merge pull request #70 from vanicat/development
Default color of text in tiled is black, not white
2 parents 315a1ea + 5a9458f commit 0d15349

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytiled_parser/tiled_object.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class Text(TiledObject):
104104
105105
Attributes:
106106
text: The text to display
107-
color: Color of the text. (default: (255, 255, 255, 255))
107+
color: Color of the text. (default: (0, 0, 0, 255))
108108
font_family: The font family used (default: "sans-serif")
109109
font_size: The size of the font in pixels. (default: 16)
110110
bold: Whether the font is bold. (default: False)
@@ -119,7 +119,7 @@ class Text(TiledObject):
119119
"""
120120

121121
text: str
122-
color: Color = Color(255, 255, 255, 255)
122+
color: Color = Color(0, 0, 0, 255)
123123

124124
font_family: str = "sans-serif"
125125
font_size: float = 16

0 commit comments

Comments
 (0)