forked from MapComplete/MapComplete
Chore: regenerate docs, lint
This commit is contained in:
parent
7b41b617f6
commit
bad0edd4b0
201 changed files with 6044 additions and 1750 deletions
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
export let image: ProvidedImage
|
||||
export let clss: string = undefined
|
||||
|
||||
|
||||
let isLoaded = new UIEventSource(false)
|
||||
async function download() {
|
||||
const response = await fetch(image.url_hd ?? image.url)
|
||||
|
|
@ -28,11 +28,11 @@
|
|||
<div class={twMerge("relative h-full w-full", clss)}>
|
||||
<div class="panzoom-container focusable absolute top-0 left-0 h-full w-full overflow-hidden">
|
||||
{#if !$isLoaded}
|
||||
<div class="w-full h-full flex items-center justify-center">
|
||||
<Loading/>
|
||||
<div class="flex h-full w-full items-center justify-center">
|
||||
<Loading />
|
||||
</div>
|
||||
{/if}
|
||||
<ImagePreview {image} {isLoaded}/>
|
||||
{/if}
|
||||
<ImagePreview {image} {isLoaded} />
|
||||
</div>
|
||||
<div
|
||||
class="pointer-events-none absolute bottom-0 left-0 flex w-full flex-wrap items-end justify-between"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue