[core] Enable 'text-radial-offset' property

This commit is contained in:
Mikhail Pozdnyakov
2019-03-07 18:52:00 +02:00
parent a6d8742e63
commit 2b9a52f5e4
10 changed files with 98 additions and 6 deletions

View File

@@ -153,7 +153,11 @@ global.defaultValue = function (property) {
switch (property.type) {
case 'number':
if (property.default === undefined) {
return 0;
} else {
return property.default;
}
case 'formatted':
case 'string':
return JSON.stringify(property.default || "");