UC-Davis-molecular-computing / scadnano

Web application for designing DNA structures such as DNA origami.
https://scadnano.org
MIT License
22 stars 13 forks source link

display extensions while moving strand #952

Open dave-doty opened 11 months ago

dave-doty commented 11 months ago

When moving or copy/pasting a strand with an extension, the extension is not display:

Before moving:

image

While moving the top green strand:

image

After moving:

image

This is fixable by looking up the code that draws the extension lines and DNA ends of 5'/3' extensions, and modifying the function _draw_strand_lines_single_path in view/design_main_strand_moving.dart to include that code, but as part of the single SVG path that draws the moving strand(s).