Skip to content

Commit b2f5a43

Browse files
committed
rename manual position to "inside"
1 parent 793c232 commit b2f5a43

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

R/plot-build.R

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -431,15 +431,15 @@ table_add_legends <- function(table, legends, theme) {
431431
yjust <- just[2]
432432

433433

434-
if (!is.zero(legends$manual)) {
435-
legends$manual <- editGrob(
436-
legends$manual,
434+
if (!is.zero(legends$inside)) {
435+
legends$inside <- editGrob(
436+
legends$inside,
437437
vp = viewport(
438438
x = theme$legend.position[1],
439439
y = theme$legend.position[2],
440440
just = just,
441-
height = heights$manual,
442-
width = widths$manual
441+
height = heights$inside,
442+
width = widths$inside
443443
)
444444
)
445445
}

0 commit comments

Comments
 (0)