File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,11 +66,11 @@ class DesignMainBasePairLinesComponent extends UiComponent2<DesignMainBasePairLi
6666 ..y2 = base_svg_reverse_pos.y
6767 ..className = constants.css_selector_base_pair_line
6868 ..stroke = 'black'
69+ ..transform = transform_str
6970 ..key = 'base-pair-line-H${helix_idx }-${offset }' )();
7071 helix_components.add (base_pair_line);
7172 }
7273 var helix_dom_group = (Dom .g ()
73- ..transform = transform_str
7474 ..className = 'base-pair-lines-components-in-helix'
7575 ..key = 'base-pair-lines-components-in-helix-H${helix_idx }' )(helix_components);
7676 base_pair_lines_components.add (helix_dom_group);
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ class DesignMainBasePairRectangleComponent extends UiComponent2<DesignMainBasePa
7373 ..height = base_svg_reverse_pos.y - base_svg_forward_pos.y
7474 ..className = constants.css_selector_base_pair_rect
7575 ..fill = 'grey'
76+ ..transform = transform_str
7677 ..key = 'base-pair-rect-H${helix_idx }-${offset }' )();
7778 } else {
7879 base_pair_ele =
@@ -84,6 +85,7 @@ class DesignMainBasePairRectangleComponent extends UiComponent2<DesignMainBasePa
8485 ..y2 = base_svg_reverse_pos.y
8586 ..className = constants.css_selector_base_pair_line
8687 ..stroke = 'grey'
88+ ..transform = transform_str
8789 ..key = 'base-pair-line-H${helix_idx }-${offset }' )();
8890 }
8991
@@ -92,7 +94,6 @@ class DesignMainBasePairRectangleComponent extends UiComponent2<DesignMainBasePa
9294 last_svg_forward_pos = base_svg_forward_pos;
9395 }
9496 var helix_dom_group = (Dom .g ()
95- ..transform = transform_str
9697 ..className = 'base-pair-lines-components-in-helix'
9798 ..key = 'base-pair-lines-components-in-helix-H${helix_idx }' )(helix_components);
9899 base_pair_lines_components.add (helix_dom_group);
You can’t perform that action at this time.
0 commit comments