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

Fixes export 5' end of extension #970

Closed rayzhuca closed 6 months ago

rayzhuca commented 6 months ago

Description

Made 5' extension exportable. The issue was that "transform-origin" and "transform-box" CSS styles were not cloned. After fixing this issue, I also had to make a new method for it to be compatible with PowerPoint. So when exporting a 5' extension, it would not work on PowerPoint unless "export svg text separately (PTT)" is enabled.

Closes issue #942

Screenshots (if appropriate):

An example strand:

Screenshot 2024-03-25 at 2 48 57 PM

Exported SVG:

Screenshot 2024-03-25 at 2 46 41 PM

SVG in PowerPoint:

Screenshot 2024-03-25 at 2 43 32 PM