mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 22:37:32 +00:00
Make node pin option text reactive (#29)
This commit is contained in:
@@ -13234,7 +13234,9 @@ LGraphNode.prototype.executeAction = function(action)
|
||||
content: "Collapse",
|
||||
callback: LGraphCanvas.onMenuNodeCollapse
|
||||
},
|
||||
{ content: "Pin", callback: LGraphCanvas.onMenuNodePin },
|
||||
{
|
||||
content: node.flags?.pinned ? "Unpin" : "Pin",
|
||||
callback: LGraphCanvas.onMenuNodePin },
|
||||
{
|
||||
content: "Colors",
|
||||
has_submenu: true,
|
||||
|
||||
Reference in New Issue
Block a user