Revert bring to front fix (#2178)

* Revert "SDA-4604 Limiting window activation change to macOS for bring-to-front feature only (#2176)"

This reverts commit 06e2ff5ab8.

* Revert "SDA-4604 Bring to the front feature fix by calling show method (#2174) (#2175)"

This reverts commit d4f4b811e9.

* Upgrade electron@31.2.0
This commit is contained in:
Salah Benmoussati
2024-07-19 12:15:37 +02:00
committed by GitHub
parent 06e2ff5ab8
commit cb0f8bf214
2 changed files with 4 additions and 2 deletions

View File

@@ -252,4 +252,4 @@
"pre-commit": "pretty-quick --staged && npm run lint"
}
}
}
}

View File

@@ -187,7 +187,9 @@ export const activate = (
// Bring the window to the top without focusing
// Flash task bar icon in Windows for windows
if (!shouldFocus) {
return isMac || isLinux ? window.show() : window.flashFrame(true);
return isMac || isLinux
? window.showInactive()
: window.flashFrame(true);
}
// Note: On window just focusing will preserve window snapped state