mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-09 17:40:09 +00:00
nit
This commit is contained in:
@@ -352,8 +352,8 @@ export class LitegraphLinkAdapter {
|
||||
} = {}
|
||||
): void {
|
||||
// Apply same defaults as original renderLink
|
||||
const startDir = start_dir ?? LinkDirection.RIGHT
|
||||
const endDir = end_dir ?? LinkDirection.LEFT
|
||||
const startDir = start_dir || LinkDirection.RIGHT
|
||||
const endDir = end_dir || LinkDirection.LEFT
|
||||
|
||||
// Convert flow to boolean
|
||||
const flowBool = flow === true || (typeof flow === 'number' && flow > 0)
|
||||
|
||||
Reference in New Issue
Block a user