Skip to content

Commit 5eec8c4

Browse files
committed
Fix #181
1 parent 379b0f0 commit 5eec8c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/trace_generation.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,8 @@ geom2trace <- list(
613613
type="scatter",
614614
line=paramORdefault(params, aes2line, ribbon.line.defaults),
615615
fill="tonexty",
616-
fillcolor=toFill(params$fill))
616+
fillcolor=toFill(params$fill, ifelse(is.null(params$alpha), 1,
617+
params$alpha)))
617618
},
618619
abline=function(data, params) {
619620
list(x=c(params$xstart, params$xend),

0 commit comments

Comments
 (0)