Added default font editing to VN
This commit is contained in:
@ -79,7 +79,7 @@ void UIRichTextLabel::onStart() {
|
||||
}
|
||||
};
|
||||
|
||||
auto root = Xml::load("<root><font font=\"font_main\">" + ((std::string)this->richText) + "</font></root>");
|
||||
auto root = Xml::load("<root>" + ((std::string)this->richText) + "</root>");
|
||||
parseChildren(&root);
|
||||
this->rebufferQuads(bufferTexts);
|
||||
}, this->richText)();
|
||||
|
Reference in New Issue
Block a user