SDA-4771 - Fix screen snippet window visibility issue (#2296)

This commit is contained in:
Kiran Niranjan 2025-02-13 13:29:39 +05:30 committed by GitHub
parent ce635c07e5
commit 44210a7ce2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,6 @@ class ScreenSnippet {
const currentWindowName = (currentWindowObj as ICustomBrowserWindow) const currentWindowName = (currentWindowObj as ICustomBrowserWindow)
?.winName; ?.winName;
const mainWindow = windowHandler.getMainWindow(); const mainWindow = windowHandler.getMainWindow();
windowHandler.closeSnippingToolWindow();
if (hideOnCapture) { if (hideOnCapture) {
this.storeWindowsState(mainWindow, currentWindowObj); this.storeWindowsState(mainWindow, currentWindowObj);
winStore.hideWindowsOnCapturing(hideOnCapture); winStore.hideWindowsOnCapturing(hideOnCapture);

View File

@ -1446,6 +1446,7 @@ export class WindowHandler {
alwaysOnTop: this.hideOnCapture, alwaysOnTop: this.hideOnCapture,
resizable: false, resizable: false,
fullscreenable: false, fullscreenable: false,
show: true,
}, },
{ {
devTools: true, devTools: true,