fix(ci): 代码格式 - 修复画布变更文件的 Prettier 校验

Refs #220
This commit is contained in:
ddCat committed 2026-08-14 12:44:58 +08:00
1 parent af609f4a3e
commit b726620b4d
4 files changed
+57 -37

No files matched your search

+29 -18
View File
@@ -705,24 +705,35 @@ function InfiniteCanvasPage() {
onNodesDeleted: handleNodesDeleted,
});
const { cancelPendingConnectionCreate, closeConnectionCreateMenu, connectionTargetAnchorRatio, connectionTargetNodeId, connectingParams, createConnectedNode, getConnectionCreateDisabledReason, handleConnectStart, mouseWorld, pendingConnectionCreate, setConnecting } =
useCanvasConnectionController({
projectId,
config: effectiveConfig,
defaultDrawingEngine,
nodesRef,
connectionsRef,
viewportRef,
scriptScrollTopById,
screenToCanvas,
setNodes,
setConnections,
setSelectedNodeIds,
setSelectedConnectionId,
setContextMenu,
setDialogNodeId,
setDrawingNodeId,
});
const {
cancelPendingConnectionCreate,
closeConnectionCreateMenu,
connectionTargetAnchorRatio,
connectionTargetNodeId,
connectingParams,
createConnectedNode,
getConnectionCreateDisabledReason,
handleConnectStart,
mouseWorld,
pendingConnectionCreate,
setConnecting,
} = useCanvasConnectionController({
projectId,
config: effectiveConfig,
defaultDrawingEngine,
nodesRef,
connectionsRef,
viewportRef,
scriptScrollTopById,
screenToCanvas,
setNodes,
setConnections,
setSelectedNodeIds,
setSelectedConnectionId,
setContextMenu,
setDialogNodeId,
setDrawingNodeId,
});
const handleCanvasSelectionStart = useCallback(() => {
setContextMenu(null);