1e7f453f54df855dc08e88ec173b57389fd7fcdb
lrnassar
Mon Aug 12 11:00:10 2019 -0700
Fixed duplicated keyboard shortcut refs #23976
diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index 0274434..a9a1c13 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -9998,51 +9998,50 @@
// also add an entry to the help menu that shows the keyboard shortcut help dialog
dyStringPrintf(dy,"$(document).ready(addKeyboardHelpEntries);\n");
jsInline(dy->string);
dyStringFree(&dy);
// help dialog
hPrintf("
\n");
hPrintf("
\n");
hPrintf("left 10% | ctrl+j | track search | t then s |
\n"); // percent sign
hPrintf(" left 1/2 screen | j | default tracks | d then t |
\n");
hPrintf(" left one screen | J | default order | d then o |
\n");
hPrintf(" right 10% | ctrl+l | hide all | h then a |
\n"); // percent sign
hPrintf(" right 1/2 screen | l | custom tracks | c then t |
\n");
hPrintf(" right one screen | L | track collections | t then c |
\n");
-hPrintf(" right one screen | L | track hubs | t then h |
\n");
+hPrintf(" jump to position box | / | track hubs | t then h |
\n");
hPrintf(" zoom in 1.5x | ctrl+i | configure | c then f |
\n");
hPrintf(" zoom in 3x | i | reverse | r then v |
\n");
hPrintf(" zoom in 10x | I | resize | r then s |
\n");
hPrintf(" zoom in base level | b | refresh | r then f |
\n");
-hPrintf(" zoom out 1.5x | ctrl+k | jump to position box | / |
\n");
+hPrintf(" zoom out 1.5x | ctrl+k | view chrom names | v then s | | |
\n");
hPrintf(" zoom out 3x | k | ");
if (gotExtTools)
hPrintf("send to external tool | s then t | ");
hPrintf("
\n");
hPrintf(" zoom out 10x | K | exon view | e then v |
\n");
hPrintf(" zoom out 100x | 0 | default view | d then v |
\n");
hPrintf(" zoom to ... | | view DNA | v then d |
\n");
hPrintf(" 50bp (1 zero) | 1 | Reset all User Settings | c then r |
\n");
hPrintf(" 500bp (2 zeros) | 2 | Tools - BLAT | t then b |
\n");
hPrintf(" 5000bp (3 zeros) | 3 | Tools - Table Browser | t then t |
\n");
hPrintf(" 50kbp (4 zeros) | 4 | Tools - PCR | t then i |
\n");
hPrintf(" 500kbp (5 zeros) | 5 | My Sessions | s then s |
\n");
hPrintf(" 5Mbp (6 zeros) | 6 | Public Sessions | p then s |
\n");
hPrintf("Highlight all (mark) | h then m | Clear all Highlights | h then c |
\n");
-hPrintf("View chrom names | v then s | | |
\n");
hPrintf("
\n");
hPrintf("

");
hPrintf("
\n");
}
static void checkAddHighlight()
/* If the cart variable addHighlight is set, merge it into the highlight variable. */
{
char *newHighlight = cartOptionalString(cart, "addHighlight");
if (newHighlight)
{
char *existing = cartOptionalString(cart, "highlight");
if (isNotEmpty(existing))
{
// Add region only if it is not already in the existing highlight setting.