mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-22 08:57:00 -06:00
SDA-3544 - Reset inactive notifications to default width and height (#1327)
This commit is contained in:
parent
5bcf36e7bd
commit
88c62e0df9
@ -175,6 +175,10 @@ class Notification extends NotificationHandler {
|
||||
if (this.inactiveWindows.length > 0) {
|
||||
const inactiveWin = this.inactiveWindows[0];
|
||||
if (windowExists(inactiveWin)) {
|
||||
inactiveWin.setBounds({
|
||||
width: CONTAINER_WIDTH,
|
||||
height: CONTAINER_HEIGHT,
|
||||
});
|
||||
this.inactiveWindows.splice(0, 1);
|
||||
this.renderNotification(inactiveWin, data);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user