From d962ee1eac159bbce530df752235abff5ab745cd Mon Sep 17 00:00:00 2001 From: shrimbly Date: Thu, 5 Mar 2026 21:41:35 +1300 Subject: [PATCH] fix: make LLM node body draggable and show action buttons on hover Remove nodrag/nopan from the text output area so the node can be dragged from the body (text is read-only, not editable). Move nodrag/nopan to the individual action buttons instead. Hide copy/regenerate/clear buttons by default, showing them only on hover of the text area to prevent overlapping content. Co-Authored-By: Claude Opus 4.6 --- src/components/nodes/LLMGenerateNode.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/nodes/LLMGenerateNode.tsx b/src/components/nodes/LLMGenerateNode.tsx index 224a44e6..2b4cf9a4 100644 --- a/src/components/nodes/LLMGenerateNode.tsx +++ b/src/components/nodes/LLMGenerateNode.tsx @@ -106,14 +106,14 @@ export function LLMGenerateNode({ id, data, selected }: NodePropsGeneration failed ) : nodeData.outputText ? ( -
-

+

+

{nodeData.outputText}

-
+