Merge pull request #317 from VishwasShashidhar/ELECTRON-293

ELECTRON-293: remove notification limit of 5 and match it with screen size
This commit is contained in:
Vishwas Shashidhar 2018-03-09 16:19:43 +05:30 committed by GitHub
commit ff803e3a24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -283,7 +283,6 @@ function setupConfig() {
// Maximum amount of Notifications we can show:
config.maxVisibleNotifications = Math.floor(display.workAreaSize.height / config.totalHeight);
config.maxVisibleNotifications = config.maxVisibleNotifications > 5 ? 5 : config.maxVisibleNotifications;
}
/**