add is_default script function

This commit is contained in:
GenevensiS
2026-04-19 19:06:52 +02:00
parent 17dd3cf407
commit d782e4851c
22 changed files with 93 additions and 13 deletions
+5
View File
@@ -176,7 +176,12 @@ IMPLEMENT_REFLECTION(TextStyle) {
String TextValue::toString() const {
return untag_hide_sep(value());
}
bool TextValue::isDefault() {
return value.isDefault();
}
bool TextValue::update(Context& ctx) {
updateAge();
WITH_DYNAMIC_ARG(last_update_age, last_update.get());