mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-01 22:09:55 +00:00
[Subgraph] Use color palette colors for subgraph io node slot labels (#1176)
This commit is contained in:
@@ -137,7 +137,7 @@ export abstract class SubgraphSlot extends SlotBase implements SubgraphIO, Hover
|
||||
if (!this.displayName) return
|
||||
|
||||
const [x, y] = this.labelPos
|
||||
ctx.fillStyle = this.isPointerOver ? "white" : "#AAA"
|
||||
ctx.fillStyle = this.isPointerOver ? "white" : (LiteGraph.NODE_TEXT_COLOR || "#AAA")
|
||||
|
||||
ctx.fillText(this.displayName, x, y)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user