mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-25 16:59:45 +00:00
Reland "Support associated socket for widgets" (#904)
- Reverts Comfy-Org/litegraph.js#896 - Relands #891
This commit is contained in:
@@ -47,7 +47,7 @@ export class TextWidget extends BaseWidget implements IStringWidget {
|
||||
ctx.fill()
|
||||
|
||||
if (show_text) {
|
||||
if (!this.disabled) ctx.stroke()
|
||||
if (!this.computedDisabled) ctx.stroke()
|
||||
ctx.save()
|
||||
ctx.beginPath()
|
||||
ctx.rect(margin, y, width - margin * 2, height)
|
||||
|
||||
Reference in New Issue
Block a user