Refactored to account for context changes.

This commit is contained in:
Dario
2025-01-18 22:58:43 -03:00
committed by Mr-Wiseguy
parent 921eb5aee3
commit e72085404b
7 changed files with 25 additions and 21 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ bool Element::is_enabled() const {
return enabled && !disabled_from_parent;
}
void Element::set_text(const std::string &text) {
void Element::set_text(std::string_view text) {
base->SetInnerRML(std::string(text));
}