From 6ac292ff013f699206a3d55dbb5b47b55a146bff Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 4 Nov 2024 17:26:08 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=8F=8D=E9=93=BE=E9=9D=A2=E6=9D=BF?= =?UTF-8?q?=E5=9D=97=E6=A0=87=E6=89=93=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/protyle/gutter/index.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.ts index 439a9e62a..858501d3a 100644 --- a/app/src/protyle/gutter/index.ts +++ b/app/src/protyle/gutter/index.ts @@ -313,10 +313,13 @@ export class Gutter { } if (isOnlyMeta(event)) { if (protyle.options.backlinkData) { - openFileById({ - app: protyle.app, - id, - action: [Constants.CB_GET_ALL, Constants.CB_GET_FOCUS] + checkFold(id, (zoomIn, action) => { + openFileById({ + app: protyle.app, + id, + action, + zoomIn + }); }); } else { zoomOut({protyle, id});