mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
Slightly improve Paint performance
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
height={thumb?.originalHeight}
|
height={thumb?.originalHeight}
|
||||||
style:background-image={loaded ? "none" : `url('${thumb?.thumbSrc}')`}
|
style:background-image={loaded ? "none" : `url('${thumb?.thumbSrc}')`}
|
||||||
on:load={() => loaded = true}
|
on:load={() => loaded = true}
|
||||||
|
decoding="async"
|
||||||
style:--aspect-ratio={thumb?.originalWidth / thumb?.originalHeight}
|
style:--aspect-ratio={thumb?.originalWidth / thumb?.originalHeight}
|
||||||
/>
|
/>
|
||||||
{#if title}
|
{#if title}
|
||||||
|
|||||||
Reference in New Issue
Block a user