Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/guides-.R
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ Guides <- ggproto(
horizontal = c("center", "top")
)

grobs <- self$draw(theme, position, default_direction)
grobs <- self$draw(theme, position, theme$legend.direction)
if (length(grobs) < 1) {
return(zeroGrob())
}
Expand Down
115 changes: 115 additions & 0 deletions tests/testthat/_snaps/guides/horizontal-legend-direction.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading