Electron-125 - Fixed desktop capturer issue which was caused by a regression

This commit is contained in:
Kiran Niranjan 2017-09-01 19:35:52 +05:30 committed by Kiran Niranjan
parent 35177567ce
commit 6b158dd21d

View File

@ -45,7 +45,7 @@ function getSources(options, callback) {
captureScreen = includes.call(options.types, 'screen'); captureScreen = includes.call(options.types, 'screen');
let updatedOptions = options; let updatedOptions = options;
if (updatedOptions.thumbnailSize === null) { if (updatedOptions.thumbnailSize == null) {
updatedOptions.thumbnailSize = { updatedOptions.thumbnailSize = {
width: 150, width: 150,
height: 150 height: 150