forked from MapComplete/MapComplete
Merge develop
This commit is contained in:
commit
3fe1f39c46
457 changed files with 6866 additions and 218533 deletions
|
|
@ -145,11 +145,7 @@
|
|||
|
||||
<div class="relative w-fit shrink-0" style="scroll-snap-align: start">
|
||||
<div class="relative flex max-w-max items-center bg-gray-200">
|
||||
<AttributedImage
|
||||
imgClass="carousel-max-height"
|
||||
{image}
|
||||
{state}
|
||||
>
|
||||
<AttributedImage imgClass="carousel-max-height" {image} {state}>
|
||||
<svelte:fragment slot="dot-menu-actions">
|
||||
<button on:click={() => ImageProvider.offerImageAsDownload(image)}>
|
||||
<DownloadIcon />
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
import type { ProvidedImage } from "../../Logic/ImageProviders/ImageProvider"
|
||||
import type { SpecialVisualizationState } from "../SpecialVisualization"
|
||||
import DeletableImage from "./DeletableImage.svelte"
|
||||
import Loading from "../Base/Loading.svelte"
|
||||
import LoadingPlaceholder from "../Base/LoadingPlaceholder.svelte"
|
||||
|
||||
export let images: Store<ProvidedImage[]>
|
||||
|
|
@ -11,8 +10,8 @@
|
|||
export let tags: UIEventSource<Record<string, string>>
|
||||
|
||||
export let estimated: Store<number>
|
||||
|
||||
</script>
|
||||
|
||||
{#if $estimated > 0 && $images.length < 1}
|
||||
<LoadingPlaceholder />
|
||||
{:else}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue