Skip to content

Commit

Permalink
fix .raster_magick for ggalign_plot object
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Dec 31, 2024
1 parent 3b50e2e commit 550e731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/rasterise.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ rasterise.ggalign_plot <- function(input, ...) {
#' @export
.raster_magick.ggalign_plot <- function(x, magick = NULL, ...) {
if (!is.null(plot <- input@plot)) {
input@plot <- .raster_magick(input = plot, ...)
input@plot <- .raster_magick(x = plot, ...)
}
input
}

0 comments on commit 550e731

Please sign in to comment.