]> git.donarmstrong.com Git - biopieces.git/blobdiff - www/index.cgi
cleaned BBrowser::Tracks.pm
[biopieces.git] / www / index.cgi
index 701aa86c05cffe32c53704ddfd22e4082bed3266..5d0d8dc77c256b5d29050d3da4a3156dbe5fd987 100755 (executable)
@@ -120,6 +120,7 @@ sub cookie_default
     $cookie->{ 'SEQ_COLOR' }       = [ 0, 0, 0, ];
     $cookie->{ 'FEAT_WIDTH' }      = 5;
     $cookie->{ 'FEAT_COLOR' }      = [ 0, 0, 0 ];
+    $cookie->{ 'FEAT_MAX' }        = 5000;
 
     $path = "$cookie->{ 'DATA_DIR' }/Users";
 
@@ -584,7 +585,7 @@ sub section_browse
     {
         $cookie->{ 'FEAT_COLOR' } = Maasha::BBrowser::Draw::palette( $i );
 
-        push @features, [ Maasha::BBrowser::Track::track_feature( $tracks[ $i ], $cookie, $cookie ) ];
+        push @features, [ Maasha::BBrowser::Track::track_feature( $tracks[ $i ], $cookie ) ];
     }
 
     $file = "fisk.png";   # FIXME