Skip to content

Commit 5687cbd

Browse files
committed
rename definitions
1 parent 20e4c83 commit 5687cbd

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

R/theme-elements.R

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ el_def <- function(class = NULL, inherit = NULL, description = NULL) {
904904
legend.key.spacing = el_def(c("unit", "rel"), "spacing"),
905905
legend.key.spacing.x = el_def(c("unit", "rel"), "legend.key.spacing"),
906906
legend.key.spacing.y = el_def(c("unit", "rel"), "legend.key.spacing"),
907-
legend.key.justification = el_def(c("character", "numeric", "integer")),
907+
legend.key.just = el_def(c("character", "numeric", "integer")),
908908
legend.frame = el_def(element_rect, "rect"),
909909
legend.axis.line = el_def(element_line, "line"),
910910
legend.ticks = el_def(element_line, "legend.axis.line"),
@@ -918,26 +918,26 @@ el_def <- function(class = NULL, inherit = NULL, description = NULL) {
918918
legend.position.inside = el_def(c("numeric", "integer")),
919919
legend.direction = el_def("character"),
920920

921-
legend.justification = el_def(c("character", "numeric", "integer")),
922-
legend.justification.top = el_def(
921+
legend.just = el_def(c("character", "numeric", "integer")),
922+
legend.just.top = el_def(
923923
c("character", "numeric", "integer"),
924-
"legend.justification"
924+
"legend.just"
925925
),
926-
legend.justification.bottom = el_def(
926+
legend.just.bottom = el_def(
927927
c("character", "numeric", "integer"),
928-
"legend.justification"
928+
"legend.just"
929929
),
930-
legend.justification.left = el_def(
930+
legend.just.left = el_def(
931931
c("character", "numeric", "integer"),
932-
"legend.justification"
932+
"legend.just"
933933
),
934-
legend.justification.right = el_def(
934+
legend.just.right = el_def(
935935
c("character", "numeric", "integer"),
936-
"legend.justification"
936+
"legend.just"
937937
),
938-
legend.justification.inside = el_def(
938+
legend.just.inside = el_def(
939939
c("character", "numeric", "integer"),
940-
"legend.justification"
940+
"legend.just"
941941
),
942942

943943
legend.location = el_def("character"),

0 commit comments

Comments
 (0)