feat(web): paste photo from clipboard (#8475)

* feat(web): paste photo from clipboard

* listen on svelte:window instead of a div

* refactor: move logic to drag overlay

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
TomixUG
2024-04-08 18:19:58 +02:00
committed by GitHub
parent 0075243ed5
commit e49512896f
3 changed files with 39 additions and 37 deletions

View File

@@ -19,7 +19,6 @@
import '../app.css';
let showNavigationLoadingBar = false;
let albumId: string | undefined;
const isSharedLinkRoute = (route: string | null) => route?.startsWith('/(user)/share/[key]');
@@ -111,7 +110,7 @@
</FullscreenContainer>
</noscript>
<slot {albumId} />
<slot />
{#if showNavigationLoadingBar}
<NavigationLoadingBar />