mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-13 09:00:16 +00:00
Prep link connector (#725)
Prepration for LinkConnector replacement - Simplifies code - Minor perf improvement - nits and clean up
This commit is contained in:
@@ -127,8 +127,8 @@ export abstract class NodeSlot implements INodeSlot {
|
||||
lowQuality = false,
|
||||
renderText = true,
|
||||
highlight = false,
|
||||
doStroke: _doStroke = false,
|
||||
} = options
|
||||
let { doStroke = false } = options
|
||||
|
||||
// Save the current fillStyle and strokeStyle
|
||||
const originalFillStyle = ctx.fillStyle
|
||||
@@ -141,7 +141,6 @@ export abstract class NodeSlot implements INodeSlot {
|
||||
) as SlotShape
|
||||
|
||||
ctx.beginPath()
|
||||
let doStroke = _doStroke
|
||||
let doFill = true
|
||||
|
||||
ctx.fillStyle = this.renderingColor(colorContext)
|
||||
|
||||
Reference in New Issue
Block a user