mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
SDA-4675 - Remove move top (#2210)
This commit is contained in:
@@ -70,7 +70,6 @@ export default class NotificationHandler {
|
||||
if (window && !window.isDestroyed()) {
|
||||
try {
|
||||
window.setPosition(parseInt(String(x), 10), parseInt(String(y), 10));
|
||||
window.moveTop();
|
||||
} catch (err) {
|
||||
console.warn(
|
||||
`Failed to set window position. x: ${x} y: ${y}. Contact the developers for more details`,
|
||||
|
@@ -255,8 +255,6 @@ class Notification extends NotificationHandler {
|
||||
notificationSettings.height,
|
||||
true,
|
||||
);
|
||||
// Move notification to top
|
||||
notificationWindow.moveTop();
|
||||
|
||||
if (!data.sticky) {
|
||||
timeoutId = setTimeout(async () => {
|
||||
@@ -590,7 +588,6 @@ class Notification extends NotificationHandler {
|
||||
windowId: notificationWindow.id,
|
||||
});
|
||||
this.activeNotifications.push(notificationWindow);
|
||||
notificationWindow.moveTop();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user