feat(dom-widgets): forward middle mouse events to canvas for panning

Add `forwardMiddleMouseToCanvas` utility to forward middle mouse button events from DOM widgets to the ComfyUI canvas, enabling workflow panning when the cursor is over a widget. The function is implemented in `vue-widgets/src/main.ts` and documented in the developer guide. Additionally, fix `getPoolConfigFromConnectedNode` to return null for inactive pool nodes.
This commit is contained in:
Will Miao
2026-01-13 11:45:12 +08:00
parent 6a17e75782
commit 688baef2f0
5 changed files with 767 additions and 254 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long