dasmoth / dalliance

Interactive web-based genome browser.
http://www.biodalliance.org/
BSD 2-Clause "Simplified" License
226 stars 68 forks source link

Does not accurately track cursor during drags #103

Closed danvk closed 10 years ago

danvk commented 10 years ago

See screen recording: biodalliance-bug

The drag begins just to the right of the green SNV. During the drag, the cursor should remain in that same spot, but it clearly does not. The track moves unpredictably underneath it.

dasmoth commented 10 years ago

I can reproduce this, but only when zoomed right in. Dalliance stores positions in basepairs, which we'd really like to be integers -- but needs to consider fractions of bases in order to get smooth scrolling when zoomed in.

This looks to me like something is getting rounded down when it should be kept as a float. I should get a chance to investigate later today.

dasmoth commented 10 years ago

This should be fixed now (master branch and 0.12.8)