clean up
This commit is contained in:
parent
10e1891a3c
commit
c2c0d23016
|
@ -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"
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue