diff --git a/components/canvas/CanvasWorkspace.tsx b/components/canvas/CanvasWorkspace.tsx index b97ea0e03..9ce2e24d8 100644 --- a/components/canvas/CanvasWorkspace.tsx +++ b/components/canvas/CanvasWorkspace.tsx @@ -228,22 +228,20 @@ export function CanvasWorkspace() { onMouseLeave={handleMouseUp} onWheel={handleWheel} > - {/* 点阵背景 - 浅色模式 */} + {/* 点阵背景 - 浅色模式(固定大小,不随缩放变化) */}
- {/* 深色模式点阵 */} + {/* 深色模式点阵(固定大小,不随缩放变化) */} diff --git a/components/canvas/nodes/ImageNode.tsx b/components/canvas/nodes/ImageNode.tsx index 5f6199cd3..ca5cab573 100644 --- a/components/canvas/nodes/ImageNode.tsx +++ b/components/canvas/nodes/ImageNode.tsx @@ -46,6 +46,7 @@ export function ImageNode({ node, isSelected }: ImageNodeProps) { const [resizeHeight, setResizeHeight] = useState(1024); const [isUploading, setIsUploading] = useState(false); const [annotatorOpen, setAnnotatorOpen] = useState(false); + const [fullscreenPreviewOpen, setFullscreenPreviewOpen] = useState(false); // 文件输入的 ref const fileInputRef = useRef