Closed simonrharris closed 8 years ago
@simonrharris you need to pull a newer version, that code is OLD!
Well it still isn't working on the https://jameshadfield.github.io/JScandy/ version. It's not that it pans past start/end, it's that it doesn't pan to the start/end if you're zoomed in. Try it. Zoom in and drag to the start of the genome. The leftmost genome coordinate will not go to 0.
OK, works on http://jameshadfield.github.io/phandango/. Sorry, didn't know that page existed - just had a guess and it works there.
When you pan in phandango it is not possible to get to base 0 or genome-length.
Can be fixed by changing lines 77-80 in genome.js store from:
to:
Or something similar.
Hope that helps
Simon