Skip to content

Commit 53995c8

Browse files
authored
Merge pull request #2658 from kakugiki/master
containerCss backgroundColor: 'transparent'
2 parents 96b4053 + 1dcdd15 commit 53995c8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/modules/html.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@
159159
x: 0,
160160
y: 0,
161161
html2canvas: {},
162-
jsPDF: {}
162+
jsPDF: {},
163+
backgroundColor: "transparent"
163164
}
164165
};
165166

@@ -246,7 +247,7 @@
246247
right: 0,
247248
top: 0,
248249
margin: "auto",
249-
backgroundColor: "white"
250+
backgroundColor: this.opt.backgroundColor
250251
}; // Set the overlay to hidden (could be changed in the future to provide a print preview).
251252

252253
var source = cloneNode(

0 commit comments

Comments
 (0)