nmrium icon indicating copy to clipboard operation
nmrium copied to clipboard

Highlights in 2D

Open lpatiny opened this issue 7 months ago • 0 comments

Currently, we can assign 1D from a 2D spectrum, which is great !

We can also, when we hover a line, highlight the corresponding atom.

I think, however, that in the future, we will assign less and less 2D zones, and the issue is that currently, when we hover a 2D zone, we don't see the corresponding assigned 1D atoms.

Image

I would change the propagation of the events.

If the zone is not assigned (no highlight), we let the event propagate to both horizontal and vertical lines so that both atoms are highlighted when the mouse hovers over a zone, even if the zone itself was not assigned.

lpatiny avatar Jun 04 '25 10:06 lpatiny