This commit is contained in:
Vanessa 2023-04-19 18:55:50 +08:00
parent d76180796c
commit 26e77a3529
5 changed files with 9 additions and 10 deletions

View file

@ -181,7 +181,7 @@ new App();
window.openFileByURL = (openURL) => {
if (openURL && isSYProtocol(openURL)) {
const isZoomIn = getSearch("focus", openURL) === "1"
const isZoomIn = getSearch("focus", openURL) === "1";
openFileById({
id: getIdFromSYProtocol(openURL),
action: isZoomIn ? [Constants.CB_GET_ALL, Constants.CB_GET_FOCUS] : [Constants.CB_GET_FOCUS, Constants.CB_GET_CONTEXT],