diff --git a/packages/joint-core/demo/custom-shapes/src/custom-shapes.mjs b/packages/joint-core/demo/custom-shapes/src/custom-shapes.mjs index 046696ed3..21506583d 100644 --- a/packages/joint-core/demo/custom-shapes/src/custom-shapes.mjs +++ b/packages/joint-core/demo/custom-shapes/src/custom-shapes.mjs @@ -24,7 +24,8 @@ joint.dia.attributes['line-style'] = { }[lineStyle] || 'none'; return { 'stroke-dasharray': dasharray }; - } + }, + unset: 'stroke-dasharray' }; joint.dia.attributes['fit-ref'] = { @@ -49,7 +50,8 @@ joint.dia.attributes['fit-ref'] = { }; } return {}; - } + }, + unset: ['rx', 'ry', 'cx', 'cy', 'width', 'height', 'd'] }; var Circle = joint.dia.Element.define('custom.Circle', {