Skip to content

Commit d40be21

Browse files
committed
Match new signature for multiselectionresponsive.
1 parent c51979a commit d40be21

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

R/AggregatedDotPlot.R

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -892,13 +892,12 @@ setMethod(".hideInterface", "AggregatedDotPlot", function(x, field) {
892892
})
893893

894894
#' @export
895-
setMethod(".multiSelectionResponsive", "AggregatedDotPlot", function(x, dims = character(0)) {
896-
if ("row" %in% dims) {
895+
setMethod(".multiSelectionResponsive", "AggregatedDotPlot", function(x, dim) {
896+
if (dim == "row") {
897897
if (!slot(x, .ADPCustomFeatNames)) {
898898
return(TRUE)
899899
}
900-
}
901-
if ("column" %in% dims) {
900+
} else if (dim == "column") {
902901
return(TRUE)
903902
}
904903
return(FALSE)

0 commit comments

Comments
 (0)