Electron-125 - Flipped the condition

This commit is contained in:
Kiran Niranjan
2017-09-01 21:59:26 +05:30
committed by Kiran Niranjan
parent 0b003d1df9
commit 363017bdf9

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) {
updatedOptions.thumbnailSize = { updatedOptions.thumbnailSize = {
width: 150, width: 150,
height: 150 height: 150