This commit is contained in:
Timothy Jaeryang Baek 2026-11-06 16:26:21 +09:00
parent b5e51064ef
commit 6d33beebe6

View file

@ -294,7 +294,9 @@
>
<!-- File preview -->
{#if fileLoading}
<div class="flex items-center justify-center h-full"><Spinner className="size-4" /></div>
<div class="flex items-center justify-center h-full">
<Spinner className="size-3.5 text-gray-400 dark:text-gray-500" />
</div>
{:else if fileImageUrl !== null}
<PanzoomContainer
bind:this={panzoomRef}
@ -336,7 +338,9 @@
{:else if fileModelData !== null}
{#key fileModelData}
{#await import('../../common/ModelPreview.svelte')}
<div class="flex h-full items-center justify-center"><Spinner className="size-4" /></div>
<div class="flex h-full items-center justify-center">
<Spinner className="size-3.5 text-gray-400 dark:text-gray-500" />
</div>
{:then { default: ModelPreview }}
<ModelPreview
data={fileModelData}