Skip to content

Commit fb4003c

Browse files
SDA-4846 - Close any instance of screen snippet window before capture (#2340)
1 parent 658af3d commit fb4003c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/screen-snippet-handler.ts

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ class ScreenSnippet {
9292
const currentWindowName = (currentWindowObj as ICustomBrowserWindow)
9393
?.winName;
9494
const mainWindow = windowHandler.getMainWindow();
95+
windowHandler.closeSnippingToolWindow();
9596
if (hideOnCapture) {
9697
this.storeWindowsState(mainWindow, currentWindowObj);
9798
winStore.hideWindowsOnCapturing(hideOnCapture);

0 commit comments

Comments
 (0)