Skip to content

Commit

Permalink
Merge pull request #223 from cgiesche/222-feature-remove-button-backg…
Browse files Browse the repository at this point in the history
…round-transparent-on-dial-display

Fixed #222: Button image background has been removed.
  • Loading branch information
cgiesche committed Dec 20, 2023
2 parents 8293b7a + 9a060af commit 0ae3767
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/modules/plugin/svgUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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);
Expand Down

0 comments on commit 0ae3767

Please sign in to comment.