UC-Davis-molecular-computing / scadnano

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

Helix offset changes incorrectly when a strand is dragged back quickly while creating #969

Open abhishekgokhale opened 8 months ago

abhishekgokhale commented 8 months ago

While having the 'dynamically update helices' option checked, if a strand being created is extended outside the helix boundary and is dragged back rapidly, the helix offset does not correctly return to it's original offset. The point to which it returns to is irregular and depends on the speed with which the strand is dragged back

Creating the strand outside the helix boundaries: image

Strand dragged back slowly while creating (expected correct result): image

Strand dragged back quickly while creating(unexpected incorrect max offset): image

Strand dragged back even more quickly while creating(unexpected incorrect max offset): image