mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-10 18:10:08 +00:00
[Cleanup] Removes unused code (#996)
- Removes unused code - Removes unnecessary globalAlpha reset when drawing reroute highlight
This commit is contained in:
@@ -1189,9 +1189,9 @@ export class LGraph implements LinkNetwork, Serialisable<SerialisableGraph> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a reroute by ID, or `undefined` if the ID is `null` or `undefined`.
|
||||
* @param id ID of reroute to return
|
||||
* @returns The reroute with the provided {@link id}, otherwise `undefined`. Always returns `undefined` if `id` is `null` or `undefined`.
|
||||
* Finds the reroute with the provided ID.
|
||||
* @param id ID of reroute to find
|
||||
* @returns The reroute with the provided {@link id}, otherwise `undefined`. Always returns `undefined` if `id` is nullish.
|
||||
*/
|
||||
getReroute(id: null | undefined): undefined
|
||||
getReroute(id: RerouteId | null | undefined): Reroute | undefined
|
||||
|
||||
Reference in New Issue
Block a user