From 50dfa4050343a25a5a34816cc276ec6ec9cf33ce Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 4 Nov 2021 19:03:53 +0800 Subject: *MISC --- Runtime/Scripting/GUI/Font.bind.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Runtime/Scripting/GUI/Font.bind.cpp') 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; -- cgit v1.1-26-g67d0