Skip to content

Commit

Permalink
Allowing capturing youtube.com
Browse files Browse the repository at this point in the history
  • Loading branch information
tete1030 committed Oct 14, 2019
1 parent fa874c8 commit 2eea3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/gsTabSuspendManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ var gsTabSuspendManager = (function() {
if (useAlternateScreenCaptureLib) {
// console.log('Generating via dom-to-image..');
generateCanvas = () => {
return domtoimage.toCanvas(document.body, {}).then(canvas => {
return domtoimage.toCanvas(document.body, {width: width, height: height}).then(canvas => {
const croppedCanvas = document.createElement('canvas');
const context = croppedCanvas.getContext('2d');
croppedCanvas.width = width;
Expand Down

0 comments on commit 2eea3a5

Please sign in to comment.