Skip to content

Commit ee8bd00

Browse files
committed
lol at my incompetence
1 parent 578cec4 commit ee8bd00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/legend-draw.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ draw_key_rect <- function(data, params, size) {
6161
colour <- if (is.na(data$fill %||% NA)) data$colour
6262
rectGrob(gp = gg_par(
6363
col = NA,
64-
fill = fill_alpha(col %||% "grey20", data$alpha),
64+
fill = fill_alpha(colour %||% "grey20", data$alpha),
6565
lty = data$linetype %||% 1
6666
))
6767
}

0 commit comments

Comments
 (0)