Skip to content

Commit

Permalink
App: Set non-RGBA fallback to transparent for icons without disc
Browse files Browse the repository at this point in the history
Fixes gh-200
  • Loading branch information
jaspermdegroot committed Jun 2, 2014
1 parent 862560d commit ad1c1fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,7 @@ TR.initControls = function() {
TR.styleArray["global-icon-disc"] = "rgba(" + red + "," + green + "," + blue + "," + ( parseFloat(elements[2]) / 100 ) + ")";
TR.styleArray["global-icon-shadow"] = "rgba(255,255,255,.4)";
} else {
TR.styleArray["global-icon-color"] = "transparent";
TR.styleArray["global-icon-disc"] = "transparent";
TR.styleArray["global-icon-shadow"] = "transparent";
}
Expand Down

0 comments on commit ad1c1fc

Please sign in to comment.