mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-25 22:11:35 -08:00
fix: try to fix sometimes new size is not correct
this fixes https://github.com/tiddly-gittly/TiddlyGit-Desktop/issues/97
This commit is contained in:
parent
2d1ae90bad
commit
42cb690abd
1 changed files with 2 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue