Skip to content

Commit

Permalink
finishng touches
Browse files Browse the repository at this point in the history
  • Loading branch information
BrayanLope5 committed Oct 8, 2023
1 parent c919937 commit 2c6336e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import Controls from '$lib/components/Controls.svelte';
import {
imageURLs,
isPlaying,
imagesPreAndCurr,
times,
containerAnim,
Expand All @@ -19,6 +20,8 @@
$: if ($imageURLs.length === 0) {
$imagesPreAndCurr = { currentImage: defaultImage, imageToPreload: null };
} else if ($imageURLs.length > 0 && !$isPlaying) {
$imagesPreAndCurr = { currentImage: defaultImage, imageToPreload: $imageURLs[0] };
}
</script>

Expand Down Expand Up @@ -56,7 +59,7 @@
}
@keyframes scaleIn {
0% {
transform: scale3d(0, 0, 1);
transform: scale3d(0.5, 0.5, 1);
}
100% {
transform: scale3d(1, 1, 1);
Expand Down

0 comments on commit 2c6336e

Please sign in to comment.