We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7f7e00 commit f07a25aCopy full SHA for f07a25a
src/main/webviewManager.ts
@@ -85,11 +85,18 @@ export function initWebviewManager(win: BrowserWindow) {
85
86
console.log('[update-webview-rect] info:', info);
87
88
- const webview = webviewMap.get(info.key);
89
- if (webview) {
+ // Change All View to avoid under view display on resize.
+ webviewMap.forEach((webview) => {
90
webview.hidden = false;
91
webview.view.setBounds(fixRect(info.rect, win.isFullScreen()));
92
- }
+ });
93
+
94
+ // Change Single View
95
+ // const webview = webviewMap.get(info.key);
96
+ // if (webview) {
97
+ // webview.hidden = false;
98
+ // webview.view.setBounds(fixRect(info.rect, win.isFullScreen()));
99
+ // }
100
});
101
102
ipcMain.on('hide-all-webview', (e) => {
0 commit comments