summaryrefslogtreecommitdiff
path: root/Runtime/Scripting/GUI/Font.bind.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-04 19:03:53 +0800
committerchai <chaifix@163.com>2021-11-04 19:03:53 +0800
commit50dfa4050343a25a5a34816cc276ec6ec9cf33ce (patch)
tree20524f80633ee71173db9f13beb92e204b3bfc11 /Runtime/Scripting/GUI/Font.bind.cpp
parentae2c6b26c2453cfb84153c39861a1bcd02479a85 (diff)
*MISC
Diffstat (limited to 'Runtime/Scripting/GUI/Font.bind.cpp')
-rw-r--r--Runtime/Scripting/GUI/Font.bind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Runtime/Scripting/GUI/Font.bind.cpp b/Runtime/Scripting/GUI/Font.bind.cpp
index 699b97f..7d7e3f2 100644
--- a/Runtime/Scripting/GUI/Font.bind.cpp
+++ b/Runtime/Scripting/GUI/Font.bind.cpp
@@ -137,7 +137,7 @@ LUA_BIND_IMPL_METHOD(Font, _GetCharacters)
WipeGLError();
- UITextMesh* tm = new UITextMesh(str, self, size, size + 3, TextAnchor_UpperLeft, TextAlignment_Left, wordwrap, preferred);
+ UITextMesh* tm = new UITextMesh(str, self, size, size + 3, Color32::white, TextAnchor_UpperLeft, TextAlignment_Left, wordwrap, preferred);
tm->Draw();
return 0;