feat/debug-node #41

Merged
max merged 17 commits from feat/debug-node into main 2026-02-12 23:20:59 +01:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 3235cae904 - Show all commits

View File

@@ -209,7 +209,6 @@
<NodeEl <NodeEl
{node} {node}
inView={graphState.isNodeInView(node)} inView={graphState.isNodeInView(node)}
z={graphState.cameraPosition[2]}
/> />
{/each} {/each}
</div> </div>

View File

@@ -34,7 +34,7 @@ export function getSocketPosition(
]; ];
} else { } else {
let height = 5; let height = 5;
let nodeType = node.state.type!; const nodeType = node.state.type!;
const inputs = nodeType.inputs || {}; const inputs = nodeType.inputs || {};
for (const inputKey in inputs) { for (const inputKey in inputs) {
const h = getParameterHeight(nodeType, inputKey) / 10; const h = getParameterHeight(nodeType, inputKey) / 10;

View File

@@ -91,7 +91,8 @@ export const NodeInputPathSchema = z.object({
export const NodeInputAnySchema = z.object({ export const NodeInputAnySchema = z.object({
...DefaultOptionsSchema.shape, ...DefaultOptionsSchema.shape,
type: z.literal('*') type: z.literal('*'),
value: z.any().optional()
}); });
export const NodeInputSchema = z.union([ export const NodeInputSchema = z.union([