This commit is contained in:
Vanessa 2023-09-17 22:26:30 +08:00
parent 58d1978eb8
commit 72f28947d2
18 changed files with 80 additions and 76 deletions

View file

@ -281,7 +281,7 @@ export const initWindow = (app: App) => {
openFileById({
app,
id,
action: [Constants.CB_GET_FOCUS, Constants.CB_GET_CONTEXT],
action: [Constants.CB_GET_FOCUS, Constants.CB_GET_CONTEXT, Constants.CB_GET_ROOTSCROLL],
zoomIn: focus,
});
ipcRenderer.send(Constants.SIYUAN_SHOW, getCurrentWindow().id);