mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-10 01:50:08 +00:00
[Cleanup] Remove unused param on LGraphCanvas.drawWidgets (#492)
This commit is contained in:
@@ -4803,9 +4803,6 @@ export class LGraphCanvas implements ConnectionColorContext {
|
||||
node,
|
||||
widgets_y,
|
||||
ctx,
|
||||
this.node_widget && this.node_widget[0] == node
|
||||
? this.node_widget[1]
|
||||
: null,
|
||||
)
|
||||
}
|
||||
} else if (this.render_collapsed_slots) {
|
||||
@@ -5722,7 +5719,6 @@ export class LGraphCanvas implements ConnectionColorContext {
|
||||
node: LGraphNode,
|
||||
posY: number,
|
||||
ctx: CanvasRenderingContext2D,
|
||||
active_widget: IWidget,
|
||||
) {
|
||||
if (!node.widgets || !node.widgets.length) return 0
|
||||
const width = node.size[0]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { LiteGraph, type Vector2 } from "./litegraph"
|
||||
import type { CanvasColour, INodeSlot, Rect } from "./interfaces"
|
||||
import { LiteGraph } from "./litegraph"
|
||||
import type { CanvasColour, Rect } from "./interfaces"
|
||||
import { LinkDirection, RenderShape, TitleMode } from "./types/globalEnums"
|
||||
|
||||
export enum SlotType {
|
||||
|
||||
Reference in New Issue
Block a user