mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-09 07:00:06 +00:00
Add getter of nodes on LGraphGroup (#145)
This commit is contained in:
1
public/litegraph.d.ts
vendored
1
public/litegraph.d.ts
vendored
@@ -1156,6 +1156,7 @@ export declare class LGraphGroup {
|
||||
font_size: number;
|
||||
flags: Record<string, boolean>;
|
||||
|
||||
get nodes(): LGraphNode[];
|
||||
get titleHeight(): number;
|
||||
get selected(): boolean;
|
||||
|
||||
|
||||
@@ -4901,6 +4901,10 @@ const globalExport = {};
|
||||
});
|
||||
}
|
||||
|
||||
get nodes() {
|
||||
return this._nodes;
|
||||
}
|
||||
|
||||
get titleHeight() {
|
||||
return this.font_size * 1.4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user