Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kumilingus committed Aug 10, 2024
1 parent 20386ee commit f94a96f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/joint-core/demo/custom-shapes/src/custom-shapes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ joint.dia.attributes['line-style'] = {
}[lineStyle] || 'none';

return { 'stroke-dasharray': dasharray };
}
},
unset: 'stroke-dasharray'
};

joint.dia.attributes['fit-ref'] = {
Expand All @@ -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', {
Expand Down

0 comments on commit f94a96f

Please sign in to comment.