Added default font editing to VN

This commit is contained in:
2023-07-12 22:17:11 -07:00
parent 4649469fee
commit 54932cd348
12 changed files with 129 additions and 8 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)();