Skip to content

Commit 4777578

Browse files
committed
patch(): fix gList method
1 parent ec86580 commit 4777578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/alignpatch-inset.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ patch.grob <- function(x, ...) {
9898
#' @rdname patch.grob
9999
patch.gList <- function(x, ...) {
100100
# gLists need to be wrapped in a grob tree
101-
grid::grobTree(plot)
101+
grid::grobTree(x)
102102
}
103103

104104
#' @importFrom ggplot2 ggplotGrob

0 commit comments

Comments
 (0)