Merge pull request #182 from KiranNiranjan/ELECTRON-125

Electron-125 (Electron Screen Share)
This commit is contained in:
Vikas Shashidhar 2017-09-05 18:23:25 +05:30 committed by GitHub
commit caa4e24032

View File

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