SDA-2092 - prevent notifications from opening in fullscreen state in MacOS (#1005)

This commit is contained in:
Kiran Niranjan 2020-05-27 11:39:50 +05:30 committed by GitHub
parent b7bafe932f
commit 9c7244f029
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ import { config } from '../app/config-handler';
import { createComponentWindow, windowExists } from '../app/window-utils';
import { AnimationQueue } from '../common/animation-queue';
import { apiName, INotificationData, NotificationActions } from '../common/api-interface';
import { isNodeEnv } from '../common/env';
import { isNodeEnv, isWindowsOS } from '../common/env';
import { logger } from '../common/logger';
import NotificationHandler from './notification-handler';
@ -464,10 +464,11 @@ class Notification extends NotificationHandler {
height: 64,
alwaysOnTop: true,
skipTaskbar: true,
resizable: true,
resizable: isWindowsOS,
show: false,
frame: false,
transparent: true,
fullscreenable: false,
acceptFirstMouse: true,
title: 'Notification - Symphony',
webPreferences: {