d28c1fcec0aca9505cc4de7bc07e08ae976ba1ff tdreszer Tue May 31 18:51:29 2011 -0700 Drag and drop of tracks in image will now drag contiguous set of subtracks if dragging side button. Occasional wierdness when dragging too fast. diff --git src/hg/hgTracks/imageV2.c src/hg/hgTracks/imageV2.c index 02e20de..7d013a3 100644 --- src/hg/hgTracks/imageV2.c +++ src/hg/hgTracks/imageV2.c @@ -1797,31 +1797,31 @@ else if(slice->link != NULL) { if(skipToSpaces(slice->link) != NULL) hPrintf(" link); else hPrintf(" link); if (slice->title != NULL) { if (sliceType == stButton) { enum browserType browser = cgiClientBrowser(NULL,NULL,NULL); char *newLine = NEWLINE_TO_USE(browser); char *ellipsis = ELLIPSIS_TO_USE(browser); if(imgTrack->reorderable) hPrintf(" TITLE='%s%sclick or right click to configure%s%sdrag to reorder%s'",htmlEncode(slice->title), newLine, - ellipsis, newLine,(tdbIsCompositeChild(imgTrack->tdb)?" highlighted subtrack":"") ); + ellipsis, newLine,(tdbIsCompositeChild(imgTrack->tdb)?" highlighted subtracks":"") ); else hPrintf(" TITLE='%s%sclick or right click to configure%s'",htmlEncode(slice->title), newLine, ellipsis); } else hPrintf(" TITLE='Click for: %s'", htmlEncode(slice->title) ); } hPrintf(">\n" ); } imageDraw(imgBox,imgTrack,slice,name,offsetX,offsetY,useMap); if(slice->link != NULL) hPrintf(""); if(slice->parentImg) hPrintf("");