diff --git a/src/services/view/setupViewEventHandlers.ts b/src/services/view/setupViewEventHandlers.ts index b9551dc8..4f2e7a1d 100644 --- a/src/services/view/setupViewEventHandlers.ts +++ b/src/services/view/setupViewEventHandlers.ts @@ -103,6 +103,8 @@ export default function setupViewEventHandlers( view.webContents.once('did-stop-loading', () => { if (browserWindow.isFocused() && !view.webContents.isFocused()) { view.webContents.focus(); + // try to fix sometimes new size is not correct https://github.com/tiddly-gittly/TiddlyGit-Desktop/issues/97 + void workspaceViewService.realignActiveWorkspace(); } }); }