bb7c285d51eabd45fe7fbb3ae297acd0324915b7 kent Tue Apr 19 15:09:50 2011 -0700 Refactoring in hopes of making auto-scale work as you'd hope with multiwigs. That still isn't there, this is just preliminaries. diff --git src/hg/hgTracks/container.c src/hg/hgTracks/container.c index 99b3c5a..0a16975 100644 --- src/hg/hgTracks/container.c +++ src/hg/hgTracks/container.c @@ -91,24 +91,20 @@ } slSort(&track->subtracks, trackPriCmp); /* Set methods that may be shared by all containers. */ track->loadItems = containerLoadItems; track->freeItems = containerFree; track->drawItems = containerDrawItems; track->totalHeight = containerTotalHeight; /* Set methods specific to containers. */ char *containerType = trackDbSetting(tdb, "container"); if (sameString(containerType, "multiWig")) { multiWigContainerMethods(track); } -else if (sameString(containerType, "folder")) - { - /* Folder's just use the default methods. */ - } else errAbort("unknown container type %s in trackDb for %s", containerType, tdb->track); }