From c3b60ac110dbd691712bf00d6083cf7fb88e5476 Mon Sep 17 00:00:00 2001 From: Eugen Ciur Date: Sun, 2 Feb 2025 05:50:33 +0100 Subject: [PATCH] fix side panel open on mac --- .../Commander/DocumentsByTypeCommander/DocumentRow.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui2/src/features/nodes/components/Commander/DocumentsByTypeCommander/DocumentRow.tsx b/ui2/src/features/nodes/components/Commander/DocumentsByTypeCommander/DocumentRow.tsx index 6fef0c0cc..1df4a1731 100644 --- a/ui2/src/features/nodes/components/Commander/DocumentsByTypeCommander/DocumentRow.tsx +++ b/ui2/src/features/nodes/components/Commander/DocumentsByTypeCommander/DocumentRow.tsx @@ -30,7 +30,7 @@ export default function DocumentRow({doc}: Args) { const onClick = (e: React.MouseEvent) => { e.preventDefault() - if (e.ctrlKey) { + if (e.ctrlKey || e.altKey) { dispatch( currentNodeChanged({id: doc.id, ctype: "document", panel: "secondary"}) )