diff --git a/src/modules/plugin/svgUtils.js b/src/modules/plugin/svgUtils.js index 371b43a..b24eaa0 100644 --- a/src/modules/plugin/svgUtils.js +++ b/src/modules/plugin/svgUtils.js @@ -9,7 +9,6 @@ export class SvgUtils { width: this.buttonRes.width / 2, height: this.buttonRes.height / 2 } - this.buttonBgColor = "#000000"; this.fontSize = 24; this.lineAttr = { "fill": "#FFF", @@ -25,9 +24,6 @@ export class SvgUtils { generateButtonSVG(labels, iconSVG, iconColor, isAction = false, isMultiAction = false) { - - this.snap.rect(0, 0, this.buttonRes.width, this.buttonRes.height).attr({fill: this.buttonBgColor}) - if (iconSVG) { const icon = this.snap.path(iconSVG) icon.attr("fill", iconColor);