Electron-170 - Added code comments

This commit is contained in:
Kiran Niranjan 2017-10-09 21:02:41 +05:30 committed by Kiran Niranjan
parent 622ad97df4
commit 20384230bf

View File

@ -51,6 +51,8 @@ function updateScreens() {
if (configurationWindow && screens && screens.length >= 0) { if (configurationWindow && screens && screens.length >= 0) {
configurationWindow.webContents.send('screens', screens); configurationWindow.webContents.send('screens', screens);
} }
// Event that updates the DOM elements
// notification position checkbox and monitor selection drop-down
configurationWindow.webContents.send('notificationSettings', {position: position, display: display}); configurationWindow.webContents.send('notificationSettings', {position: position, display: display});
} }