Skip to content

Commit

Permalink
change save image background color
Browse files Browse the repository at this point in the history
  • Loading branch information
picklejason committed Dec 20, 2022
1 parent 73e8f9b commit cec2c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/team.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
function saveTeam() {
html2canvas(document.querySelector(".team-container"), {
useCORS: true,
backgroundColor: null,
backgroundColor: "#D4D3DD",
}).then((canvas) => {
canvas.toBlob(function (blob) {
window.saveAs(blob, "my_team.png");
Expand Down

0 comments on commit cec2c59

Please sign in to comment.