mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 07:00:23 +00:00
[Cleanup] Remove duplicate code (#754)
- Removes null widget skip - this _should_ throw - Removes widget locator that was on LGraphCanvas - canvas should not functions that find things in graph space.
This commit is contained in:
@@ -1902,7 +1902,6 @@ export class LGraphNode implements Positionable, IPinnable, IColorable {
|
||||
|
||||
for (const widget of widgets) {
|
||||
if (
|
||||
!widget ||
|
||||
(widget.disabled && !includeDisabled) ||
|
||||
widget.hidden ||
|
||||
(widget.advanced && !this.showAdvanced)
|
||||
|
||||
Reference in New Issue
Block a user