Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Alignment.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ class Alignment extends Component {
!_.isEqual(this.props.molecule, nextProps.molecule) ||
!_.isEqual(this.props.site_color, nextProps.site_color) ||
!_.isEqual(this.props.text_color, nextProps.text_color),
should_update = !same_fasta || different_coloring;
new_x_coord = _.isEqual(this.props.x_pixel, nextProps.x_pixel),
should_update = !same_fasta || different_coloring || new_x_coord;
if (should_update) {
this.initialize(nextProps);
return true;
Expand Down
6 changes: 5 additions & 1 deletion src/app/FASTA/start_at_site_and_sequence.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ class StartAtSiteAndSequence extends Component {
return (
<div>
<div>
<h1>Begin centered on a given sequence (CY010004) and site (100).</h1>
<h1>
Begin centered on a given sequence (CY010004) and site ({
this.state.site
}).
</h1>
</div>
<input
type="number"
Expand Down