This commit is contained in:
tamaina 2023-05-07 18:25:11 +00:00
parent 10e1891a3c
commit c2c0d23016
2 changed files with 1 additions and 5 deletions

View File

@ -1,8 +1,4 @@
<template> <template>
<!--
<div v-if="hide" :class="$style.hidden" @click="hide = false">
<ImgWithBlurhash style="filter: brightness(0.5);" :hash="image.blurhash" :title="image.comment" :alt="image.comment" :width="image.properties.width" :height="image.properties.height" :force-blurhash="defaultStore.state.enableDataSaverMode"/>
</div>-->
<div :class="hide ? $style.hidden : $style.visible" :style="darkMode ? '--c: rgb(255 255 255 / 2%);' : '--c: rgb(0 0 0 / 2%);'" @click="onclick"> <div :class="hide ? $style.hidden : $style.visible" :style="darkMode ? '--c: rgb(255 255 255 / 2%);' : '--c: rgb(0 0 0 / 2%);'" @click="onclick">
<a <a
:class="$style.imageContainer" :class="$style.imageContainer"

View File

@ -3,7 +3,7 @@ import { render } from 'buraha';
const canvases = new Map<string, OffscreenCanvas>(); const canvases = new Map<string, OffscreenCanvas>();
onmessage = async (event) => { onmessage = async (event) => {
console.log(event.data); // console.log(event.data);
if (!('id' in event.data && typeof event.data.id === 'string')) { if (!('id' in event.data && typeof event.data.id === 'string')) {
return; return;
} }