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