fix
This commit is contained in:
@@ -1930,7 +1930,15 @@ const DesktopWorkspaceView = () => {
|
||||
}
|
||||
}}
|
||||
onPointerDown={(event) => {
|
||||
if (typeof onDocumentPointerSelect === 'function') {
|
||||
const alreadySelected = selectedDocumentIds.includes(doc.id);
|
||||
if (
|
||||
typeof onDocumentPointerSelect === 'function'
|
||||
&& (!alreadySelected
|
||||
|| event.metaKey
|
||||
|| event.ctrlKey
|
||||
|| event.shiftKey
|
||||
|| event.altKey)
|
||||
) {
|
||||
onDocumentPointerSelect(doc.id, event);
|
||||
}
|
||||
handlePointerDown(event, doc.id);
|
||||
|
||||
Reference in New Issue
Block a user