From ec16c316cc3b94f4677008abf0d0bca819dd33a3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 8 Feb 2026 12:14:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=BB=E5=B8=83=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=88=B0=E5=AF=B9=E8=AF=9D=E6=8C=89=E9=92=AE=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/canvas/nodes/ImageNode.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/canvas/nodes/ImageNode.tsx b/components/canvas/nodes/ImageNode.tsx index e68ed61c3..3487e63de 100644 --- a/components/canvas/nodes/ImageNode.tsx +++ b/components/canvas/nodes/ImageNode.tsx @@ -1550,6 +1550,8 @@ export function ImageNode({ node, isSelected }: ImageNodeProps) { transform: 'translateX(-50%)', pointerEvents: 'auto', }} + onMouseDown={(e) => e.stopPropagation()} + onPointerDown={(e) => e.stopPropagation()} onClick={(e) => e.stopPropagation()} > {/* 添加到对话 */} @@ -1820,6 +1822,8 @@ export function ImageNode({ node, isSelected }: ImageNodeProps) { top: getNotePanelPosition().top, left: getNotePanelPosition().left, }} + onMouseDown={(e) => e.stopPropagation()} + onPointerDown={(e) => e.stopPropagation()} onClick={(e) => e.stopPropagation()} >
@@ -1879,6 +1883,8 @@ export function ImageNode({ node, isSelected }: ImageNodeProps) { top: getTextPanelPosition().top, left: getTextPanelPosition().left, }} + onMouseDown={(e) => e.stopPropagation()} + onPointerDown={(e) => e.stopPropagation()} onClick={(e) => e.stopPropagation()} >