org-roam / org-roam-ui

A graphical frontend for exploring your org-roam Zettelkasten
GNU General Public License v3.0
1.99k stars 109 forks source link

[MINOR] Zoom in/out in network graph with touch screen #286

Open shamiv opened 1 year ago

shamiv commented 1 year ago

I love org-roam-ui and it has been an important part of my workflow for quite some time now.

I was wondering if it would be easy/possible to navigate through the network graph using the touch screen of my laptop.

Right now, the gestures "work" but:

  1. When zooming using the touch screen (two fingers pinching), the resolution goes down (or actually, the original pre-zoom resolution stays the same, which means that "zooming in" shows the images at a lower resolution).
  2. When I use the mouse to zoom in to a particular part of the graph, and then zoom in with the touch screen, I can use one finger to move up/down left/right, but only within the initial part/frame of the graph that I zoomed into using the mouse.

In other words, the touch screen gestures (in contrast to the mouse gestures) seem to be detached from the graph building?

Some extra background info: