From 87fe62005d91266506fc14ab9118977d7295998c Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 16 Sep 2021 14:57:46 +0200 Subject: [PATCH] disabled browser context menu --- packages/web/src/Screen.svelte | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/web/src/Screen.svelte b/packages/web/src/Screen.svelte index 0b15333a..a6ea9e3f 100644 --- a/packages/web/src/Screen.svelte +++ b/packages/web/src/Screen.svelte @@ -24,10 +24,13 @@ import dragDropFileTarget from './utility/dragDropFileTarget'; $: currentThemeType = $currentThemeDefinition?.themeType == 'dark' ? 'theme-type-dark' : 'theme-type-light'; - -
+
e.preventDefault()} +>
@@ -68,7 +71,7 @@ {/if}
- {#each $openedSnackbars as snackbar(snackbar.id)} + {#each $openedSnackbars as snackbar (snackbar.id)} {/each}
@@ -153,5 +156,4 @@ right: 0; bottom: var(--dim-statusbar-height); } -