org-roam / org-roam-ui

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

[BUG] Highlighting doesn't return after hovering over other node #287

Open Itrekr opened 1 year ago

Itrekr commented 1 year ago

Issue description

When setting 'Follow' to 'Color', roam-ui follows my behaviour properly in Doom Emacs, but when I hover over a node in the graph, it sets the highlighting to the node I hover over. This also (probably) works as intended, but when I move my cursor away from that node, the whole graph is back in its full colour. The only way to resolve this, is to close the buffer in emacs, open a different org file (which will reset the highlighting) and then go to the buffer I previously had open. I assume that (whenever I hover over a node in the graph) the highlighting gets reset somehow and (as far as org-roam-ui is concerned) it doesn't need to re-enable it.

Expected behaviour

When hovering over a different node than the highlighted node in my emacs buffer and moving my cursor away from it afterwards should re-highlight the node which is opened in the emacs buffer

Actual behaviour

After hovering my cursor over a node that isn't the one being highlighted through the follow-feature the whole graph regains its original colouring and all highlighting is removed until the original buffer is closed and a new different org-file buffer is opened.