We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7b1246 commit becc895Copy full SHA for becc895
src/lib/components/App.svelte
@@ -33,18 +33,16 @@
33
<svelte:body on:mousemove={onmousemove} on:mousedown={onmousedown} />
34
35
<div>
36
- <Canvas>
37
- <Scene />
38
- </Canvas>
39
- {#if $effect}
40
- <Timeline />
41
- <EffectPane />
+ {#if $model}
+ <Canvas>
+ <Scene />
+ </Canvas>
+ {#if $effect}
+ <Timeline />
42
+ <EffectPane />
43
+ {/if}
44
{:else}
- <div class="spinner-container">
- <div class="spinner-content">
45
- <Circle size="60" color="#FF3E00" unit="px" duration="1s" />
46
- </div>
47
+ <Circle size="32" color="#FFFFFF" unit="px" duration="1s" />
48
{/if}
49
</div>
50
@@ -53,13 +51,4 @@
53
51
height: 100%;
54
52
width: auto;
55
}
56
- .spinner-container {
57
- display: flex;
58
- justify-content: center;
59
- align-items: center;
60
- height: 100vh;
61
- }
62
- .spinner-content {
63
- text-align: center;
64
65
</style>
static/threejs-effects.png
8.67 KB
0 commit comments