Electron-125 - Flipped the condition

This commit is contained in:
Kiran Niranjan 2017-09-01 21:35:38 +05:30 committed by Kiran Niranjan
parent 6b158dd21d
commit 0b003d1df9

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