Skip to content

Commit

Permalink
#4658-Some bonds remain selected on export to SVG in Snake mode (#5219)
Browse files Browse the repository at this point in the history
* feat: fix export to SVG in snake mode

* feat:change svg logic

* feat: remove unused class
  • Loading branch information
KristinaKasyanovskaya authored Aug 19, 2024
1 parent 9bfd823 commit 4f4cdb7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,8 @@ export class SnakeModePolymerBondRenderer extends BaseRenderer {
.attr('stroke', '#57FF8F')
.attr('stroke-width', 2)
.attr('fill-opacity', 0)
.attr('d', this.path);
.attr('d', this.path)
.attr('class', 'dynamic-element');
} else {
this.selectionElement = this.rootElement
?.insert('line', ':first-child')
Expand Down

0 comments on commit 4f4cdb7

Please sign in to comment.