Skip to content

Commit 04203b4

Browse files
authored
Merge pull request #975 from UC-Davis-molecular-computing/974-dna-sequence-rendering-larger-font-size-than-grid-boxes
Closes #974 DNA misalignment
2 parents a7181b0 + 9334aba commit 04203b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/view/design_main_dna_sequence.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ class DesignMainDNASequenceComponent extends UiComponent2<DesignMainDNASequenceP
143143
..className = classname_dna_sequence
144144
..x = '$x'
145145
..y = '$y'
146-
// ..textLength = '$text_length'
147-
..letterSpacing = '${(text_length - charWidth * seq_to_draw.length) / (seq_to_draw.length - 1)}'
146+
..textLength = '$text_length'
147+
// ..letterSpacing = '${(text_length - charWidth * seq_to_draw.length) / (seq_to_draw.length - 1)}'
148148
..transform = 'rotate(${rotate_degrees} ${rotate_x} ${rotate_y})'
149149
..dy = '$dy')(seq_to_draw);
150150
}

0 commit comments

Comments
 (0)