fix more rect selection bugs
This commit is contained in:
@@ -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="[
|
||||
|
||||
Reference in New Issue
Block a user