fix more rect selection bugs

This commit is contained in:
2025-09-04 21:03:19 +02:00
parent afcbadee8b
commit 13e91fdfbf
5 changed files with 30 additions and 35 deletions

View File

@@ -184,22 +184,12 @@ function onEntryDownload(entry: DirectoryEntry) {
downloadFile(downloadName, downloadApiUrl);
}
function onParentClick() {
if (selectionRect.dirty) {
selectionRect.dirty = false;
return;
}
warrenStore.clearSelection();
}
</script>
<template>
<div
v-if="share != null"
class="flex h-full w-full items-center justify-center px-2"
@click="onParentClick"
>
<div
:class="[