From 4a6a2ca2f0a8ff20ce43786bfa5bde1abdd957f3 Mon Sep 17 00:00:00 2001 From: xuzhijie Date: Thu, 30 Apr 2026 16:38:56 +0800 Subject: [PATCH] =?UTF-8?q?=20=E7=BB=9F=E4=B8=80=E5=8A=A0=E5=8F=B7?= =?UTF-8?q?=E5=92=8C=E8=8F=9C=E5=8D=95=E9=80=89=E4=B8=AD=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ConnectionDropMenu.tsx | 2 +- src/components/NodeQuickAddControls.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ConnectionDropMenu.tsx b/src/components/ConnectionDropMenu.tsx index a5e36eb3..89fe8fd2 100644 --- a/src/components/ConnectionDropMenu.tsx +++ b/src/components/ConnectionDropMenu.tsx @@ -738,7 +738,7 @@ export function ConnectionDropMenu({ ref={menuRef} tabIndex={-1} data-tutorial="connection-drop-menu" - className="fixed z-100 bg-neutral-800 border border-neutral-600 rounded-lg shadow-xl overflow-hidden min-w-[160px] outline-none" + className="fixed z-100 select-none bg-neutral-800 border border-neutral-600 rounded-lg shadow-xl overflow-hidden min-w-[160px] outline-none" style={{ left: position.x, top: position.y, diff --git a/src/components/NodeQuickAddControls.tsx b/src/components/NodeQuickAddControls.tsx index a6a95eea..6cd6985a 100644 --- a/src/components/NodeQuickAddControls.tsx +++ b/src/components/NodeQuickAddControls.tsx @@ -47,7 +47,7 @@ export const NodeQuickAddControls = memo(function NodeQuickAddControls({ aria-hidden={!visible} tabIndex={visible ? 0 : -1} title={isInput ? "Add upstream node" : "Add downstream node"} - className={`nodrag nopan flex h-6 w-6 items-center justify-center rounded-full border border-neutral-600 bg-neutral-800 text-neutral-200 shadow-lg shadow-black/30 transition-colors hover:border-blue-500 hover:bg-blue-600 hover:text-white focus:outline-none focus:ring-2 focus:ring-blue-500/50 ${ + className={`nodrag nopan flex h-6 w-6 items-center justify-center rounded-full border border-neutral-500 bg-neutral-900/80 text-neutral-200 shadow-lg shadow-black/30 transition-colors hover:border-neutral-300 hover:bg-neutral-800 hover:text-white focus:outline-none focus:ring-2 focus:ring-neutral-400/40 ${ visible ? "pointer-events-auto" : "pointer-events-none" }`} onClick={(event) => {