Skip to content

Commit b1ad53e

Browse files
committed
m
1 parent 01f6a14 commit b1ad53e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

R/plot_raster.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,9 @@
426426
}
427427
if (!x$add) {
428428
try(set.clip(x$lim, x$lonlat))
429-
}
429+
} else {
430+
reset.clip()
431+
}
430432
invisible(x)
431433
}
432434

0 commit comments

Comments
 (0)