mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-21 07:14:11 +00:00
Auto transforms bugged node pos (#712)
This commit is contained in:
@@ -74,7 +74,10 @@ const zProperties = z
|
||||
.passthrough()
|
||||
|
||||
const zVector2 = z.union([
|
||||
z.object({ 0: z.number(), 1: z.number() }).transform((v) => [v[0], v[1]]),
|
||||
z
|
||||
.object({ 0: z.number(), 1: z.number() })
|
||||
.passthrough()
|
||||
.transform((v) => [v[0], v[1]]),
|
||||
z.tuple([z.number(), z.number()])
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user