Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed Feb 15, 2023
1 parent ad4ab39 commit 6377974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ function GensploreView({genbankString, searchInput, setSearchInput}) {
// if there is a selection, use that instead
if (whereMouseWentDown && whereMouseWentUp) {
const midPoint = Math.floor((whereMouseWentDown + whereMouseWentUp) / 2);
rowVirtualizer.scrollToIndex(5+Math.floor(midPoint / rowWidth), {align:"center",
rowVirtualizer.scrollToIndex(3+Math.floor(midPoint / rowWidth), {align:"center",
smoothScroll:false});
setCenteredNucleotide(null);
return;
Expand Down

1 comment on commit 6377974

@vercel
Copy link

@vercel vercel bot commented on 6377974 Feb 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.