cheminfo / cheminfo/nmrium

Highlights in 2D

Open
#3,574 0 comments 0 reactions 1 assignee Claimed by @hamed-musallam View on GitHub
Dominant language
TypeScript
Stars
80
Forks
34
Avg merge
2d 9h
Merged PRs (30d)
36

Description

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](https://github.com/user-attachments/assets/f619430a-3569-454a-afc4-17e487af909a)

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.