Skip to content

Commit d1f6833

Browse files
committed
revert
1 parent a4f1221 commit d1f6833

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

R/guide-custom.R

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,6 @@ guide_custom <- function(
5050
cli::cli_abort("{.arg height} must be a single {.cls unit}, not a unit vector.")
5151
}
5252

53-
if (!is.null(position)) {
54-
if (is.numeric(position)) {
55-
if (length(position) != 2L) {
56-
cli::cli_abort("{.arg position} must be a numeric of length 2")
57-
}
58-
} else {
59-
position <- arg_match0(position, c(.trbl, "inside"))
60-
}
61-
}
62-
6353
new_guide(
6454
grob = grob,
6555
width = width,

0 commit comments

Comments
 (0)