From b626b570c4a16f15e68798b77a431d2e35cdb301 Mon Sep 17 00:00:00 2001 From: gwyneblaidd Date: Wed, 16 Jan 2019 20:47:05 +0200 Subject: [PATCH] rebase --- src/elements/element.rectangle.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 }