From 88c62e0df904177d06cbc4cdbaea317d9bb5fdfd Mon Sep 17 00:00:00 2001 From: Kiran Niranjan Date: Tue, 25 Jan 2022 12:55:28 +0530 Subject: [PATCH] SDA-3544 - Reset inactive notifications to default width and height (#1327) --- src/renderer/notification.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/renderer/notification.ts b/src/renderer/notification.ts index fe78437b..f1993521 100644 --- a/src/renderer/notification.ts +++ b/src/renderer/notification.ts @@ -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;