jagenjo / 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
5.32k stars 602 forks source link

Optimize for trackpad gesture #439

Open yapitw opened 4 months ago

yapitw commented 4 months ago
  1. optimise zoom and pan gestures on trackpad (developed on macbook)
  2. fix zooming center slightly off
yapitw commented 4 months ago

Done. Would be nice if anyone can test it on a windows laptop.

jagenjo commented 4 months ago

I dont have a laptop to test it but I will accept it