Skip to content

Commit c580eed

Browse files
committed
Revert "Remove initial property defaults"
This reverts commit 5f63d73.
1 parent 5f63d73 commit c580eed

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/Text.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ class Text {
132132
::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color);
133133
}
134134

135-
std::string text;
136-
float fontSize;
137-
::Color color;
138-
::Font font;
139-
float spacing;
135+
std::string text = "";
136+
float fontSize = 10;
137+
::Color color = WHITE;
138+
::Font font = ::GetFontDefault();
139+
float spacing = 0;
140140
};
141141
} // namespace raylib
142142

0 commit comments

Comments
 (0)