mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +00:00
Move circle to background
This commit is contained in:
@@ -5015,8 +5015,6 @@ export class LGraphCanvas implements CustomEventDispatcher<LGraphCanvasEventMap>
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
if (renderLink instanceof MovingInputLink)
|
|
||||||
renderLink.drawConnectionCircle(ctx, highlightPos)
|
|
||||||
|
|
||||||
ctx.fillStyle = colour
|
ctx.fillStyle = colour
|
||||||
ctx.beginPath()
|
ctx.beginPath()
|
||||||
@@ -5911,6 +5909,12 @@ export class LGraphCanvas implements CustomEventDispatcher<LGraphCanvasEventMap>
|
|||||||
// Never draw slots when the pointer is down
|
// Never draw slots when the pointer is down
|
||||||
if (!this.pointer.isDown) reroute.drawSlots(ctx)
|
if (!this.pointer.isDown) reroute.drawSlots(ctx)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const highlightPos = this.#getHighlightPosition()
|
||||||
|
this.linkConnector.renderLinks
|
||||||
|
.filter((rl) => rl instanceof MovingInputLink)
|
||||||
|
.forEach((rl) => rl.drawConnectionCircle(ctx, highlightPos))
|
||||||
|
|
||||||
ctx.globalAlpha = 1
|
ctx.globalAlpha = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user