From 55250de97a4b2cb8c53fe196a050e1e5769cf3f6 Mon Sep 17 00:00:00 2001 From: Mike Sawka Date: Fri, 1 Nov 2024 10:59:17 -0700 Subject: [PATCH] fix fullscreen resize bug (#1191) --- emain/emain-viewmgr.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emain/emain-viewmgr.ts b/emain/emain-viewmgr.ts index 74838ee36..acf2d6125 100644 --- a/emain/emain-viewmgr.ts +++ b/emain/emain-viewmgr.ts @@ -430,12 +430,14 @@ function createBaseWaveBrowserWindow( if (tabView) { tabView.webContents.send("fullscreen-change", true); } + positionTabOnScreen(win.activeTabView, win.getContentBounds()); }); win.on("leave-full-screen", async () => { const tabView = win.activeTabView; if (tabView) { tabView.webContents.send("fullscreen-change", false); } + positionTabOnScreen(win.activeTabView, win.getContentBounds()); }); win.on("focus", () => { if (getGlobalIsRelaunching()) {