From 5f63d732b200516dbb9426ed0a6765592264d28d Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Mon, 16 May 2022 04:10:24 -0400 Subject: [PATCH] Remove initial property defaults --- include/Text.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/Text.hpp b/include/Text.hpp index ab4b915..0d14e46 100644 --- a/include/Text.hpp +++ b/include/Text.hpp @@ -132,11 +132,11 @@ class Text { ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color); } - std::string text = ""; - float fontSize = 10; - ::Color color = WHITE; - ::Font font = ::GetFontDefault(); - float spacing = 0; + std::string text; + float fontSize; + ::Color color; + ::Font font; + float spacing; }; } // namespace raylib