Permalink
Browse files

removed stroke=NULL in indel drawing which lead to errors from gridToSVG

  • Loading branch information...
1 parent 23a5818 commit bd44272383b92826aba5e580e57f90b105a2073f @gmbecker committed Feb 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 R/drawing.R
View
@@ -458,7 +458,7 @@ drawOneIndel = function(xs, heights, y)
{
indelseq = c(y - .5 + heights, rep(y - .5, times = length(xs)))
- grid.polygon(x = unit( c(xs, rev(xs) ), "native"), y = unit( indelseq, "native"), gp = gpar(stroke=NULL, fill="#00AA00", alpha=.5) )
+ grid.polygon(x = unit( c(xs, rev(xs) ), "native"), y = unit( indelseq, "native"), gp = gpar(col = "#00AA00", fill="#00AA00", alpha=.5) )
TRUE
}

0 comments on commit bd44272

Please sign in to comment.