mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Revert bring to front fix (#2178)
* Revert "SDA-4604 Limiting window activation change to macOS for bring-to-front feature only (#2176)" This reverts commit06e2ff5ab8. * Revert "SDA-4604 Bring to the front feature fix by calling show method (#2174) (#2175)" This reverts commitd4f4b811e9. * Upgrade electron@31.2.0
This commit is contained in:
committed by
GitHub
parent
06e2ff5ab8
commit
cb0f8bf214
@@ -252,4 +252,4 @@
|
||||
"pre-commit": "pretty-quick --staged && npm run lint"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user