mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Put a transition:fade on the spinner
This commit is contained in:
parent
aeca0e0544
commit
6559b41734
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
</script>
|
||||
|
||||
<script lang="typescript">
|
||||
import { fade } from 'svelte/transition';
|
||||
import type { I18n } from "anki/i18n";
|
||||
import type pb from "anki/backend_proto";
|
||||
import { getGraphData, RevlogRange } from "./graph-helpers";
|
||||
|
@ -127,7 +128,7 @@
|
|||
{/if}
|
||||
|
||||
{#await dataPromise}
|
||||
<div class="spin">◐</div>
|
||||
<div class="spin" transition:fade="{{duration=50}}">◐</div>
|
||||
{:then sourceData}
|
||||
<div tabindex="-1" class="no-focus-outline">
|
||||
{#each graphs as Graph}
|
||||
|
|
Loading…
Reference in a new issue