SDA-4675 - Remove move top (#2210)

This commit is contained in:
Kiran Niranjan
2024-10-02 07:30:14 +05:30
committed by GitHub
parent 9558aa1848
commit 079992b3e7
2 changed files with 0 additions and 4 deletions

View File

@@ -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`,

View File

@@ -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();
}
/**