Skip to content

Commit

Permalink
correct drag_region contents for :region and :overview tracks, was pr…
Browse files Browse the repository at this point in the history
…inting the track's label instead of its key
  • Loading branch information
rbuels committed Nov 29, 2011
1 parent 74a879a commit c03356a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Bio/Graphics/Browser2/RenderPanels.pm
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ sub wrap_rendered_track {
}
else {
(my $l = $label) =~ s/:\w+$//;
$title = $source->setting($l=>'key') || $label;
$title = $source->setting( $label => 'key') || $l;
}
$title =~ s/:(overview|region|detail)$//;

Expand Down

0 comments on commit c03356a

Please sign in to comment.