mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-26 02:40:24 -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) {
|
if (this.inactiveWindows.length > 0) {
|
||||||
const inactiveWin = this.inactiveWindows[0];
|
const inactiveWin = this.inactiveWindows[0];
|
||||||
if (windowExists(inactiveWin)) {
|
if (windowExists(inactiveWin)) {
|
||||||
|
inactiveWin.setBounds({
|
||||||
|
width: CONTAINER_WIDTH,
|
||||||
|
height: CONTAINER_HEIGHT,
|
||||||
|
});
|
||||||
this.inactiveWindows.splice(0, 1);
|
this.inactiveWindows.splice(0, 1);
|
||||||
this.renderNotification(inactiveWin, data);
|
this.renderNotification(inactiveWin, data);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user