mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 06:47:33 +00:00
## Summary Adds deprecation warning for the `widgets_up` property which has known layout bugs and is not officially supported. ## Changes - Added `@deprecated` JSDoc comment on `widgets_up` property - Added console warning during configure path - Warning directs users to use `widgets_start_y` or custom `arrange()` override instead ## Context The `widgets_up` property is an undocumented legacy LiteGraph feature that positions widgets at the top of nodes. However, the `arrange()` method doesn't properly handle slot positioning when this is enabled, causing widgets and slots to overlap (see #7878). Rather than fix this edge case in an unsupported feature, we're formally deprecating it with a warning. - Closes #7878 ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8541-deprecate-add-warning-for-unsupported-widgets_up-property-2fb6d73d365081a89bb6e41038d94455) by [Unito](https://www.unito.io)