mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
[automated] Apply ESLint and Oxfmt fixes
This commit is contained in:
@@ -6233,7 +6233,8 @@ export class LGraphCanvas implements CustomEventDispatcher<LGraphCanvasEventMap>
|
||||
} = {}
|
||||
): void {
|
||||
if (this.linkRenderer) {
|
||||
const context = this._cachedLinkRenderContext ?? this.buildLinkRenderContext()
|
||||
const context =
|
||||
this._cachedLinkRenderContext ?? this.buildLinkRenderContext()
|
||||
this.linkRenderer.renderLinkDirect(
|
||||
ctx,
|
||||
a,
|
||||
|
||||
@@ -207,7 +207,10 @@ export class LLink implements LinkSegment, Serialisable<SerialisableLLink> {
|
||||
linkSegment: LinkSegment
|
||||
): Reroute[] {
|
||||
if (linkSegment.parentId === undefined) return EMPTY_REROUTES
|
||||
return network.reroutes.get(linkSegment.parentId)?.getReroutes() ?? EMPTY_REROUTES
|
||||
return (
|
||||
network.reroutes.get(linkSegment.parentId)?.getReroutes() ??
|
||||
EMPTY_REROUTES
|
||||
)
|
||||
}
|
||||
|
||||
static getFirstReroute(
|
||||
|
||||
Reference in New Issue
Block a user