mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 06:19:58 +00:00
## Summary Remove double-counting of NODE_TITLE_HEIGHT in layout sync. The title height was being added both in useLayoutSync and in LiteGraph's measure() function, causing boundingRect to be 30px taller than actual DOM. This caused selection box to detect nodes ~30px below their actual bottom. fix https://github.com/Comfy-Org/ComfyUI_frontend/issues/7580 ## Screenshots (if applicable) before https://github.com/user-attachments/assets/babf0b9d-174e-4ec3-a3bb-18e4f9d88d09 after https://github.com/user-attachments/assets/4f9989a5-4d3c-4303-bd1b-70ca70cb8f15 ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7741-fix-correct-Vue-node-selection-box-detection-accuracy-2d26d73d3650817cbe80f98a3bf1abf1) by [Unito](https://www.unito.io) --------- Co-authored-by: github-actions <github-actions@github.com>