You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[fix] Restore ability to override onMouseDown in node subclasses (#5079)
This fixes a regression where node subclasses could no longer override
the onMouseDown method. The issue was introduced when title button
support was added by assigning onMouseDown in the constructor, which
prevented proper method inheritance.
Changes:
- Remove onMouseDown assignment from LGraphNode constructor
- Move title button click detection to LGraphCanvas before calling node.onMouseDown
- This preserves title button functionality while allowing subclasses to override onMouseDown
Fixes#5073
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Claude <[email protected]>
0 commit comments