Skip to content

Commit

Permalink
Fix shrinking windows on win32
Browse files Browse the repository at this point in the history
  • Loading branch information
mayfield committed Jan 21, 2024
1 parent 9fa738b commit 69d315c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/windows.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,9 @@ function canToggleVisibility(win) {
rpc.register(() => {
for (const win of SauceBrowserWindow.getAllWindows()) {
if (canToggleVisibility(win)) {
win.hide();
if (!win.isMinimized()) {
win.hide();
}
}
}
}, {name: 'hideAllWindows'});
Expand Down

0 comments on commit 69d315c

Please sign in to comment.