diff --git a/src/elements/element.rectangle.js b/src/elements/element.rectangle.js index 54706d2fae2..fcdb868c20a 100644 --- a/src/elements/element.rectangle.js +++ b/src/elements/element.rectangle.js @@ -4,11 +4,13 @@ var defaults = require('../core/core.defaults'); var Element = require('../core/core.element'); var helpers = require('../helpers/index'); +var defaultColor = defaults.global.defaultColor; + defaults._set('global', { elements: { rectangle: { - backgroundColor: defaults.global.defaultColor, - borderColor: defaults.global.defaultColor, + backgroundColor: defaultColor, + borderColor: defaultColor, borderSkipped: 'bottom', borderWidth: 0 }