diff --git a/src/style_manager/model/Property.js b/src/style_manager/model/Property.js index ec895cd61..28c7a6afa 100644 --- a/src/style_manager/model/Property.js +++ b/src/style_manager/model/Property.js @@ -190,9 +190,14 @@ const Property = Backbone.Model.extend( */ getFullValue(val) { const fn = this.get('functionName'); + const def = this.getDefaultValue(); let value = isUndefined(val) ? this.get('value') : val; const hasValue = !isUndefined(value) && value !== ''; + if (value && def && value === def) { + return def; + } + if (fn && hasValue) { value = `${fn}(${value})`; }