Skip to content

Commit

Permalink
slide is amazing for this actually
Browse files Browse the repository at this point in the history
  • Loading branch information
Fauntleroy committed Sep 22, 2024
1 parent afe72d8 commit 83a11ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/new-message.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import uPNG from 'upng-js';
import { scale } from 'svelte/transition';
import { slide } from 'svelte/transition';
import { mediaStream, webcamEnabled } from '$/store.svelte.js';
import { generateFilmstripWithCallback } from '$/utils/frames';
Expand Down Expand Up @@ -78,8 +78,8 @@
{#if isCapturing}
<div
class="progress"
in:scale={{ duration: 250 }}
out:scale={{ duration: 500, delay: 500 }}
in:slide={{ duration: 250 }}
out:slide={{ duration: 500, delay: 500 }}
>
<Progress {progress} />
</div>
Expand Down

0 comments on commit 83a11ae

Please sign in to comment.