Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Avoid clipping the subtrack selection link on long track titles.

  • Loading branch information...
commit 1a3e5c19f93d9e64b55f049bdf014c60bed3eb0a 1 parent 7ebeb47
@lstein lstein authored
View
2  Build.PL
@@ -18,7 +18,7 @@ my $build = GBrowseInstall->new(
requires => {
'perl' => '5.008',
'Bio::Root::Version' => '1.0069',
- 'Bio::Graphics' => '2.28',
+ 'Bio::Graphics' => '2.31',
'CGI::Session' => '4.02',
'Digest::MD5' => 0,
'ExtUtils::CBuilder' => 0,
View
4 Changes
@@ -1,3 +1,7 @@
+2.52
+ * Avoid clipping the subtrack selection link on long track titles.
+ * Require Bio::Graphics version 2.31 to avoid bug in wiggle xyplot generation.
+
2.51
* Fix "can't call FETCH without object reference" errors during ./Build test.
* Fix pod documentation for gbrowse_grow_cloud_vol.pl.
View
2  MANIFEST
@@ -673,3 +673,5 @@ t/testdata/phylo_align/species.tre
t/testdata/phylo_align/volvox_alignment.conf
t/testdata/phylo_align/volvox_phyloalign.gff
t/testdata/TemplateCopy.pm
+META.yml
+META.json
View
2  lib/Bio/Graphics/Browser2.pm
@@ -2,7 +2,7 @@ package Bio::Graphics::Browser2;
# $Id$
# Globals and utilities for GBrowse and friends
-our $VERSION = '2.51';
+our $VERSION = '2.52';
use strict;
use warnings;
View
8 lib/Bio/Graphics/Browser2/RenderPanels.pm
@@ -28,7 +28,7 @@ use constant RULER_INTERVALS => 20;
use constant PAD_OVERVIEW_BOTTOM => 5;
use constant TRY_CACHING_CONFIG => 1;
use constant MAX_PROCESSES => 4;
-use constant MAX_TITLE_LEN => 40;
+use constant MAX_TITLE_LEN => 50;
# when we load, we set a global indicating the LWP::UserAgent is available
my $LPU_AVAILABLE;
@@ -629,11 +629,11 @@ sub wrap_rendered_track {
div({-class => 'linkbg', -style => 'position:relative; left:30px;',},$about_ipad)),
);
- # modify the title if it is a track with subtracks
- $self->select_features_menu($label,\$title);
-
my $clipped_title = $title;
$clipped_title = substr($clipped_title,0,MAX_TITLE_LEN-3).'...' if length($clipped_title) > MAX_TITLE_LEN;
+
+ # modify the title if it is a track with subtracks
+ $self->select_features_menu($label,\$clipped_title);
my $titlebar =
span(
Please sign in to comment.
Something went wrong with that request. Please try again.