Adding back a transition on HelpCameraSettingsPopup

This commit is contained in:
David Négrier 2021-06-01 17:23:16 +02:00
parent 9c9699d2d1
commit 22dff82bd3

View File

@ -1,4 +1,5 @@
<script lang="typescript"> <script lang="typescript">
import { fly } from 'svelte/transition';
import {helpCameraSettingsVisibleStore} from "../../Stores/HelpCameraSettingsStore"; import {helpCameraSettingsVisibleStore} from "../../Stores/HelpCameraSettingsStore";
import firefoxImg from "./images/help-setting-camera-permission-firefox.png"; import firefoxImg from "./images/help-setting-camera-permission-firefox.png";
import chromeImg from "./images/help-setting-camera-permission-chrome.png"; import chromeImg from "./images/help-setting-camera-permission-chrome.png";
@ -17,7 +18,7 @@
</script> </script>
<form class="helpCameraSettings nes-container" on:submit|preventDefault={close}> <form class="helpCameraSettings nes-container" on:submit|preventDefault={close} transition:fly="{{ y: -900, duration: 500 }}">
<section> <section>
<h2>Camera / Microphone access needed</h2> <h2>Camera / Microphone access needed</h2>
<p class="err">Permission denied</p> <p class="err">Permission denied</p>