♻️ rm hasContext

This commit is contained in:
Vanessa 2022-08-06 01:02:55 +08:00
parent e40bc18d86
commit d2a6c03d52
27 changed files with 31 additions and 92 deletions

View file

@ -67,7 +67,7 @@ export const newFile = (notebookId?: string, currentPath?: string, open?: boolea
}, () => {
/// #if !MOBILE
if (open) {
openFileById({id, hasContext: true, action: [Constants.CB_GET_HL]});
openFileById({id, action: [Constants.CB_GET_HL]});
}
/// #endif
});

View file

@ -342,7 +342,6 @@ const initWindow = () => {
}
openFileById({
id: url.substr(16, 22),
hasContext: true,
action: [Constants.CB_GET_FOCUS],
zoomIn: getSearch("focus", url) === "1"
});