diff --git a/fclauncher/frontend/src/App.svelte b/fclauncher/frontend/src/App.svelte index 8fa51bd..3fa73fe 100644 --- a/fclauncher/frontend/src/App.svelte +++ b/fclauncher/frontend/src/App.svelte @@ -5,6 +5,7 @@ import {CheckPrerequisites} from '../wailsjs/go/main/App.js' import { onMount } from 'svelte' import { loading } from './global.ts' + import { slide } from 'svelte/transition' let width: int = 10 @@ -18,9 +19,13 @@
{#if $loading} - +
+ +
{:else} - +
+ +
{/if}
diff --git a/fclauncher/frontend/src/Instances.svelte b/fclauncher/frontend/src/Instances.svelte index 309d8b4..4f75c5e 100644 --- a/fclauncher/frontend/src/Instances.svelte +++ b/fclauncher/frontend/src/Instances.svelte @@ -4,6 +4,7 @@ import {LaunchInstance} from '../wailsjs/go/main/Prism.js' import {onMount} from 'svelte' import {loading} from './global.ts' + import {slide} from 'svelte/transition' let modpacks: Modpack[] = [] let pack: string @@ -67,16 +68,18 @@
{#if addingInstance} - -
- -
- - +
+ +
+ +
+ + +
{:else} {/if}