mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
add is_default script function
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user