Skip to content

[Bug] onMouseDown no longer fires on LGraphNode #5073

@rgthree

Description

@rgthree

Node classes that extended LGraphNode used to be able to define an onMouseDown handler to be fired when the mouse is down on a node.

However, 3b4c0b5 seems to have broken that by assigning an onMouseDown rather than create a default instance method on LGraphNode (which can then be overridden with a class override).

This change breaks any nodes that relied on onMouseDown prior, see: rgthree/rgthree-comfy#553

┆Issue is synchronized with this Notion page by Unito

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions