mirror of
https://github.com/finos/SymphonyElectron.git
synced 2026-10-24 22:07:39 -05:00
SDA-3544 - Reset inactive notifications to default width and height (#1327)
This commit is contained in:
1 parent
5bcf36e7bd
commit
88c62e0df9
1 file changed
+4
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user