From d40be216545c8f9558148495966e5db7eff42bec Mon Sep 17 00:00:00 2001 From: LTLA Date: Tue, 10 Dec 2024 17:18:56 -0800 Subject: [PATCH] Match new signature for multiselectionresponsive. --- R/AggregatedDotPlot.R | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/R/AggregatedDotPlot.R b/R/AggregatedDotPlot.R index 7431dee..aec0ea3 100644 --- a/R/AggregatedDotPlot.R +++ b/R/AggregatedDotPlot.R @@ -892,13 +892,12 @@ setMethod(".hideInterface", "AggregatedDotPlot", function(x, field) { }) #' @export -setMethod(".multiSelectionResponsive", "AggregatedDotPlot", function(x, dims = character(0)) { - if ("row" %in% dims) { +setMethod(".multiSelectionResponsive", "AggregatedDotPlot", function(x, dim) { + if (dim == "row") { if (!slot(x, .ADPCustomFeatNames)) { return(TRUE) } - } - if ("column" %in% dims) { + } else if (dim == "column") { return(TRUE) } return(FALSE)