Skip to content

Commit 7022d31

Browse files
committed
Make sure arguments are passed correctly into manual_scale
1 parent 1cede18 commit 7022d31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/scale-manual.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ scale_discrete_manual <- function(aesthetics, ..., values, breaks = waiver()) {
123123
}
124124

125125

126-
manual_scale <- function(aesthetic, values = NULL, breaks = waiver(), limits = NULL, ...) {
126+
manual_scale <- function(aesthetic, values = NULL, breaks = waiver(), ..., limits = NULL) {
127127
# check for missing `values` parameter, in lieu of providing
128128
# a default to all the different scale_*_manual() functions
129129
if (is_missing(values)) {

0 commit comments

Comments
 (0)