Skip to content

Commit

Permalink
indeed
Browse files Browse the repository at this point in the history
  • Loading branch information
dnil committed Feb 22, 2024
1 parent 22bd85b commit b78d0d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export function panTracks(direction = 'left', speed = 0.1) {
}
// drawTrack will correct the window eventually, but let us not go negative at least
if (pos.start < 0) {
pos.end = pos.end + distance - pos.start
pos.end = pos.end - pos.start
pos.start = 1
}
drawTrack({ chrom: pos.chrom, start: pos.start, end: pos.end, drawTitle: false, exclude: ['cytogenetic-ideogram'] })
Expand Down

0 comments on commit b78d0d0

Please sign in to comment.