chore(release): 版本发布 - publish v1.0.12

This commit is contained in:
ddCat committed 2026-07-28 21:55:42 +08:00
1 parent 1380849d03
commit 2a16eb5d46
19 files changed
+99 -111

No files matched your search

+2 -1
View File
@@ -49,7 +49,7 @@ export function useCanvasDirector({
let scene = createDirectorScene(`镜头 ${shotIndex}`);
const shot = scene.shots[0];
scene = { ...scene, shots: [{ ...shot, name: `镜头 ${shotIndex}` }] };
const node = createCanvasNode(CanvasNodeType.Config, position || getCanvasCenter(), {
const node = createCanvasNode(CanvasNodeType.Video, position || getCanvasCenter(), {
workflowKind: "shot",
workflowTitle: `镜头 ${shotIndex}`,
shotIndex,
@@ -61,6 +61,7 @@ export function useCanvasDirector({
directorShotId: shot.id,
});
node.title = `镜头 ${shotIndex}`;
node.height = 300;
const nextNodes = [...nodesRef.current, node];
nodesRef.current = nextNodes;
setNodes(nextNodes);