Skip to content

Commit

Permalink
#941 default changed to panels for all facet types
Browse files Browse the repository at this point in the history
  • Loading branch information
mtennekes committed Oct 10, 2024
1 parent aefe37f commit 3dd2801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/process_meta.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ preprocess_meta = function(o, cdt) {
} else {
"xtab"
}
} else if ((type == "page" || n == 1) && is.na(panel.labels[[1]])) {
} else if ((n == 1) && is.na(panel.labels[[1]])) {
"none"
} else if (!(type %in% c("wrap", "stack")) && !isdef[1] && !isdef[2]) {
"none"
} else if ((type %in% c("wrap", "stack")) || (n == 1)) {
} else if ((type %in% c("wrap", "stack", "page")) || (n == 1)) {
"wrap"
} else {
"xtab"
Expand Down

0 comments on commit 3dd2801

Please sign in to comment.