From 65f76c593924b35edd3658c59ddc641ac5c07245 Mon Sep 17 00:00:00 2001 From: Thomas Lin Pedersen Date: Wed, 2 Jan 2019 13:24:42 +0100 Subject: [PATCH] Fix #254 transition_null properly returns params in setup_params --- R/transition-null.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/transition-null.R b/R/transition-null.R index ddfc7e2..03beb70 100644 --- a/R/transition-null.R +++ b/R/transition-null.R @@ -14,6 +14,7 @@ transition_null <- function() { TransitionNull <- ggproto('TransitionNull', Transition, setup_params = function(self, data, params) { params$n_layers <- length(data) + params }, expand_data = function(self, data, type, id, match, ease, enter, exit, params, layer_index) { data