mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp
synced 2026-05-29 16:45:17 -04:00
Refactored to account for context changes.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user