bill 4 hónapja
szülő
commit
65d0965649
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/hook/use-fly.ts

+ 1 - 1
src/hook/use-fly.ts

@@ -62,7 +62,7 @@ export const flyTaggingPosition = (position: TaggingPosition) => {
       // distance: 3,
       maxDis: 15,
       isFlyToTag: true,
-      focusPos: position.localPos,
+      focusPos: getTaggingPosNode(position)!.getImageCenter(),
       ...position.pose
     } as any);
   } else {