Skip to content

Commit d3d2956

Browse files
committed
fix #6529
1 parent 78e6aec commit d3d2956

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/geom-contour.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ GeomContour <- ggproto(
77
"GeomContour", GeomPath,
88
default_aes = aes(
99
weight = 1,
10-
colour = from_theme(accent),
10+
colour = from_theme(colour %||% accent),
1111
linewidth = from_theme(linewidth),
1212
linetype = from_theme(linetype),
1313
alpha = NA

R/geom-path.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ GeomPath <- ggproto("GeomPath", Geom,
66
required_aes = c("x", "y"),
77

88
default_aes = aes(
9-
colour = from_theme(ink),
9+
colour = from_theme(colour %||% ink),
1010
linewidth = from_theme(linewidth),
1111
linetype = from_theme(linetype),
1212
alpha = NA

0 commit comments

Comments
 (0)