Change fill attribute to style.

This commit is contained in:
Caleb Usadi
2022-10-24 23:41:34 -04:00
parent 2e571a18bd
commit fc24373667

View File

@@ -357,7 +357,7 @@ const drawEntities = function (svgNode, entities, graph) {
const rectNode = groupNode const rectNode = groupNode
.insert('rect', '#' + textId) .insert('rect', '#' + textId)
.attr('class', 'er entityBox') .attr('class', 'er entityBox')
.attr('fill', conf.fill) .style('fill', conf.fill)
.attr('fill-opacity', '100%') .attr('fill-opacity', '100%')
.attr('stroke', conf.stroke) .attr('stroke', conf.stroke)
.attr('x', 0) .attr('x', 0)