mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-25 02:10:32 -06:00
SDA-4061 Storing windows state should happen when we take a screenshot by hidding SDA only (#1698)
This commit is contained in:
parent
6d64182e4a
commit
1825eb1dee
@ -96,10 +96,10 @@ class ScreenSnippet {
|
||||
?.winName;
|
||||
const mainWindow = windowHandler.getMainWindow();
|
||||
|
||||
this.storeWindowsState(mainWindow, currentWindowObj);
|
||||
|
||||
winStore.hideWindowsOnCapturing(hideOnCapture);
|
||||
|
||||
if (hideOnCapture) {
|
||||
this.storeWindowsState(mainWindow, currentWindowObj);
|
||||
winStore.hideWindowsOnCapturing(hideOnCapture);
|
||||
}
|
||||
if (mainWindow && windowExists(mainWindow) && isWindowsOS) {
|
||||
this.shouldUpdateAlwaysOnTop = mainWindow.isAlwaysOnTop();
|
||||
if (this.shouldUpdateAlwaysOnTop) {
|
||||
|
Loading…
Reference in New Issue
Block a user