thenlevy / ensnano

ENSnano, a 3D graphical application for DNA nanostructures.
GNU General Public License v3.0
49 stars 6 forks source link

Remap mouse buttons in the 2D interface #18

Closed thenlevy closed 2 years ago

thenlevy commented 2 years ago

Fix #13

This PR changes the behavior of the 2D interface by remapping the Mouse buttons The current changes are

- Left Clicking on a nucleotide selects it, clicking again selects the strands on which the nucleotide lies
- Right Clicking on a nucleotide cuts the strands at that position, or merge it with the neighboring strand (this was the previous behavior of Left Clicking on a nucleotide)
- Double Left clicking on a nucleotide center the nucleotide in the 3D view (previously this was done by double right clicking)