Update FolderMenu.svelte

This commit is contained in:
Classic298
2025-06-21 21:52:04 +02:00
committed by GitHub
parent 1f69024967
commit 6bd849415f

View File

@@ -13,6 +13,10 @@
import Download from '$lib/components/icons/Download.svelte';
let show = false;
const handleMenuTrigger = (event) => {
event.stopPropagation();
};
</script>
<Dropdown
@@ -23,9 +27,11 @@
}
}}
>
<Tooltip content={$i18n.t('More')}>
<slot />
</Tooltip>
<div on:click={handleMenuTrigger} on:pointerup={handleMenuTrigger}>
<Tooltip content={$i18n.t('More')}>
<slot />
</Tooltip>
</div>
<div slot="content">
<DropdownMenu.Content