From be97c6cb88318bcea441edeeecb69b6d6ed0dd8f Mon Sep 17 00:00:00 2001 From: tamaina Date: Sat, 6 May 2023 16:35:50 +0000 Subject: [PATCH] wip --- .../frontend/src/components/MkImgWithBlurhash.vue | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/frontend/src/components/MkImgWithBlurhash.vue b/packages/frontend/src/components/MkImgWithBlurhash.vue index 22619ba2fd..442864983c 100644 --- a/packages/frontend/src/components/MkImgWithBlurhash.vue +++ b/packages/frontend/src/components/MkImgWithBlurhash.vue @@ -1,8 +1,6 @@ @@ -65,6 +63,7 @@ const offscreen = computed(() => { let loaded = $ref(false); let canvasWidth = $ref(props.width); let canvasHeight = $ref(props.height); +const hide = computed(() => !loaded || props.forceBlurhash); function onLoad() { loaded = true;