Comfy-Org / litegraph.js

A graph node engine and editor written in Javascript similar to PD or UDK Blueprints, comes with its own editor in HTML5 Canvas2D. The engine can run client side or server side using Node. It allows to export graphs as JSONs to be included in applications independently.
MIT License
52 stars 12 forks source link

[feature request] Configurable canvas cursor style #85

Open christian-byrne opened 2 months ago

christian-byrne commented 2 months ago

underscore_x (Discord):

please tell me someone has already made an extension / provided instructions on how to change the cursor from the crosshair thing

It's not currently configurable via user.css because it gets set to hard-coded "crosshair" in mouse handler:

https://github.com/Comfy-Org/litegraph.js/blob/3387e164e5dbb150b5357cc9b827f98829aa0c01/src/litegraph.js#L6484-L6491