Added default font editing to VN

This commit is contained in:
2023-07-12 22:17:11 -07:00
parent 2eb441dfb3
commit 5b816a4316
14 changed files with 131 additions and 12 deletions

View File

@ -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)();