fix: Change shortcut listeners from window to document (#18416)

* fix: Change shortcut listeners to document

* fix: split into window and document

* chore: upgrade ui package
This commit is contained in:
Arno 2025-05-21 18:12:00 +02:00 committed by GitHub
parent b2ef8ea7dd
commit 188188a844
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 40 additions and 39 deletions

View file

@ -712,7 +712,7 @@
});
</script>
<svelte:window onkeydown={onKeyDown} onkeyup={onKeyUp} onselectstart={onSelectStart} use:shortcuts={shortcutList} />
<svelte:document onkeydown={onKeyDown} onkeyup={onKeyUp} onselectstart={onSelectStart} use:shortcuts={shortcutList} />
{#if isShowDeleteConfirmation}
<DeleteAssetDialog