diff --git a/packages/frontend/src/components/MkImgWithBlurhash.vue b/packages/frontend/src/components/MkImgWithBlurhash.vue index 875ae2e8fc..ca912fabf5 100644 --- a/packages/frontend/src/components/MkImgWithBlurhash.vue +++ b/packages/frontend/src/components/MkImgWithBlurhash.vue @@ -91,10 +91,6 @@ function waitForDecode() { } } -watch(() => props.src, () => { - waitForDecode(); -}); - watch([() => props.width, () => props.height, root], () => { const ratio = props.width / props.height; if (ratio > 1) { @@ -140,6 +136,10 @@ async function draw(transfer: boolean = false) { } } +watch(() => props.src, () => { + waitForDecode(); +}); + watch(() => props.hash, () => { draw(); });