mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-01-01 03:37:12 -06:00
SDA-2092 - prevent notifications from opening in fullscreen state in MacOS (#1005)
This commit is contained in:
parent
b7bafe932f
commit
9c7244f029
@ -4,7 +4,7 @@ import { config } from '../app/config-handler';
|
|||||||
import { createComponentWindow, windowExists } from '../app/window-utils';
|
import { createComponentWindow, windowExists } from '../app/window-utils';
|
||||||
import { AnimationQueue } from '../common/animation-queue';
|
import { AnimationQueue } from '../common/animation-queue';
|
||||||
import { apiName, INotificationData, NotificationActions } from '../common/api-interface';
|
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 { logger } from '../common/logger';
|
||||||
import NotificationHandler from './notification-handler';
|
import NotificationHandler from './notification-handler';
|
||||||
|
|
||||||
@ -464,10 +464,11 @@ class Notification extends NotificationHandler {
|
|||||||
height: 64,
|
height: 64,
|
||||||
alwaysOnTop: true,
|
alwaysOnTop: true,
|
||||||
skipTaskbar: true,
|
skipTaskbar: true,
|
||||||
resizable: true,
|
resizable: isWindowsOS,
|
||||||
show: false,
|
show: false,
|
||||||
frame: false,
|
frame: false,
|
||||||
transparent: true,
|
transparent: true,
|
||||||
|
fullscreenable: false,
|
||||||
acceptFirstMouse: true,
|
acceptFirstMouse: true,
|
||||||
title: 'Notification - Symphony',
|
title: 'Notification - Symphony',
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
|
Loading…
Reference in New Issue
Block a user