98b868361a84fe13c05c3b22f8f9a0b3401a7853 tdreszer Mon Sep 12 15:45:11 2011 -0700 Removing open hand cursor and adding toggle clicking back into image as per Angie and Jim's desires. diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index eab4e67..5048d06 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -1075,32 +1075,32 @@ var newX = 0; var mouseDownX = 0; var mouseIsDown = false; var beyondImage = false; var atEdge = false; initialize(); function initialize(){ $(pan).parents('td.tdData').mousemove(function(e) { if (e.shiftKey) $(this).css('cursor',"crosshair"); // shift-dragZoom else if ( $.browser.msie ) // IE will override map item cursors if this gets set $(this).css('cursor',""); // normal pointer when not over clickable item - else - $(this).css('cursor',"url(../images/grabber.cur),w-resize"); // dragScroll + //else // NOTE: Open hand cursor is being removed because it makes vis toggling less obvious + // $(this).css('cursor',"url(../images/grabber.cur),w-resize"); // dragScroll }); panAdjustHeight(prevX); pan.mousedown(function(e){ if (e.which > 1 || e.button > 1 || e.shiftKey) return true; if(mouseIsDown == false) { if(contextMenu) { contextMenu.hide(); } mouseIsDown = true; mouseDownX = e.clientX; atEdge = (!beyondImage && (prevX >= leftLimit || prevX <= rightLimit)); $(document).bind('mousemove',panner);