Skip to content

Commit

Permalink
Update design_main_domain_moving.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-doty committed Jan 14, 2022
1 parent cf86bda commit 81b49fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/src/view/design_main_domain_moving.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,11 @@ class DesignMainDomainMovingComponent extends UiComponent2<DesignMainDomainMovin
classname += ' ' + constants.css_selector_disallowed;
}

var hex_color = props.color.toHexColor();
var hex_color_css = hex_color.toCssString();

return (Dom.line()
..stroke = props.color.toHexColor().toCssString()
..stroke = hex_color_css
..transform = transform_of_helix(helix.idx)
..x1 = '${start_svg.x}'
..y1 = '${start_svg.y}'
Expand Down

0 comments on commit 81b49fd

Please sign in to comment.