commit/galaxy-central: jgoecks: Trackster: disable mousewheel scrolling for now until a better usage model can be created.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/4bcf8ca400ae/ Changeset: 4bcf8ca400ae User: jgoecks Date: 2014-07-02 00:36:28 Summary: Trackster: disable mousewheel scrolling for now until a better usage model can be created. Affected #: 1 file diff -r 7ecbf85f918180a1ed415629968c763441bb0869 -r 4bcf8ca400aee4f72900de8a375707256f0ae369 static/scripts/viz/trackster/tracks.js --- a/static/scripts/viz/trackster/tracks.js +++ b/static/scripts/viz/trackster/tracks.js @@ -1070,6 +1070,11 @@ d.current_x = d.offsetX; var delta_chrom = Math.round(delta / view.viewport_container.width() * (view.high - view.low)); view.move_delta(delta_chrom); + }) + /* + FIXME: Do not do this for now because it's too jittery. Some kind of gravity approach is + needed here because moving left/right should be difficult. + // Also capture mouse wheel for left/right scrolling }).bind( 'mousewheel', function( e, d, dx, dy ) { // Only handle x axis scrolling; y axis scrolling is @@ -1079,6 +1084,7 @@ view.move_delta( delta_chrom ); } }); + */ // Dragging in the top label track allows selecting a region to zoom in on selected region. this.top_labeltrack.bind( "dragstart", function( e, d ) { Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org