Skip to content

Commit 2b7b26c

Browse files
Fix a typo
1 parent b871f0d commit 2b7b26c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/geom-ribbon.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ GeomRibbon <- ggproto("GeomRibbon", Geom,
119119

120120
munched_lines <- munched
121121
# increment the IDs of the lower line
122-
munched_lines$id <- munched_lines$id <- rep(c(0, max(ids, na.rm = TRUE)), each = length(ids))
122+
munched_lines$id <- munched_lines$id + rep(c(0, max(ids, na.rm = TRUE)), each = length(ids))
123123

124124
g_lines <- polylineGrob(
125125
munched_lines$x, munched_lines$y, id = munched_lines$id,

0 commit comments

Comments
 (0)