diff --git a/src/views/snapshot/ScreenshotCard.vue b/src/views/snapshot/ScreenshotCard.vue index 0ba8da9..34a4f0f 100644 --- a/src/views/snapshot/ScreenshotCard.vue +++ b/src/views/snapshot/ScreenshotCard.vue @@ -92,6 +92,8 @@ const imgMove = (ev: MouseEvent) => { top: (-(oy - 0.1 * img.naturalWidth) / img.naturalWidth) * 1000 + 'px', }; }; + +const imgBounding = useElementBounding(imgRef);