d6f2b2dfc3960ffa2d4a54e47508f4c7a773abc0 hiram Tue Nov 17 08:12:26 2020 -0800 delay popup time set to 0.2 seconds and restore correct data construction function in wigTrack.c refs #21980 diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index e3b4126..8c8f548 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -4456,31 +4456,31 @@ "hgTracks?db="+getDb()+"&"+newDbPos+"&hgsid="+sid); } } } }; /////////////////////////////////////// //// mouseOver data display 2020-10 /// /////////////////////////////////////// var mouseOver = { spans: {}, visible: false, tracks: {}, maximumWidth: {}, - popUpDelay: 1000, // one second delay before popUp appears + popUpDelay: 200, // 0.2 second delay before popUp appears popUpTimer: null,// handle from setTimeout to use in clearTimout(popUpTimer) delayDone: true, // mouse has not left element, still receiving move evts delayInProgress: false, // true if working with delay timer done mostRecentMouseEvt: null, browserTextSize: 12, // spans{} - key name is track name, value is an array of // objects: {x1, x2, v, c} // where [x1..x2) is the array index where the value 'v' // is found, and 'c' is the data value count in this value // i.e. when c > 1 the value is a 'mean' of 'c' data values // visible - keep track of window visible or not, value: true|false // shouldn't need to do this here, the window knows if it // is visible or not, just ask it for status // tracks{} - tracks that were set up initially, key is track name