Skip to content

Commit 47a6b57

Browse files
committed
fix vectorised aesthetics case
1 parent 7ec9d4d commit 47a6b57

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

R/scales-.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,9 @@ ScalesList <- ggproto("ScalesList", NULL,
184184
self$scales[[i]] <- self$scales[[i]]$update(params)
185185
}
186186
} else {
187-
self$params[[aesthetic]] <- defaults(params, self$params[[aesthetic]])
187+
for (i in aesthetic) {
188+
self$params[[i]] <- defaults(params, self$params[[i]])
189+
}
188190
}
189191
}
190192
)

0 commit comments

Comments
 (0)