mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-03 04:31:58 +00:00
Move subgraph badge into node title (#6115)
<img width="1350" height="691" alt="image" src="https://github.com/user-attachments/assets/4a1a909f-463e-4c77-8855-6fe0a177b659" /> Design docs show icon as being reversed in litegraph mode. If needed, fixing this is basically just removing a negative sign. LiteGraph implementation was not as clean as I hoped. I can spend some more time divining some non-magic constants, and mayybe resolve the svg data from css styles if desired. Resolves #4647 Resolves #6107 ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6115-Move-subgraph-badge-into-node-title-2906d73d365081e4ba82d321fc27afed) by [Unito](https://www.unito.io) --------- Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
@@ -151,7 +151,7 @@ interface DrawTitleTextOptions extends DrawTitleOptions {
|
||||
default_title_color: string
|
||||
}
|
||||
|
||||
interface DrawTitleBoxOptions extends DrawTitleOptions {
|
||||
export interface DrawTitleBoxOptions extends DrawTitleOptions {
|
||||
box_size?: number
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user